[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: duali 0.1.1 ?



On Sun, Jul 06, 2003 at 06:39:31AM -0700, Mohammed Elzubeir wrote:
> On Sun, Jul 06, 2003 at 04:33:33PM +0300, Mohammed Sameer wrote:
> > 
> > I'll try now,
> > though it's somehow more complicated now ;)
> > 
> 
> It's actually a little better.. enjoy ;) I'm releasing it now.
> 
They are ready!

duali-data_0.1b-1_all.deb "db files"
pyduali_0.1.1-1_all.deb "the main duali things"
duali-tools_0.1.1-1_all.deb "dict2db.py"

i had to do some changes to pyduali:
1- aralex.py & trans_table.py: removed the !#/usr/* line
2- all the other scripts: changed #!/usr/bin/env python to 
   #!/usr/bin/python2.2
3- setup.py:
	-      data_files = [ ('/etc', ['duali.conf']) ],
	+      data_files = [ ('etc', ['duali.conf']) ],
	-      scripts= ['duali.py', 'trans2arabic.py', 'dict2db.py'])
	+      scripts= ['duali.py', 'trans2arabic.py'])
4- duali.py:
	@@ -21,7 +21,8 @@
	 #---
	 
	 import sys, getopt, os, ConfigParser
	-import pyduali.aradict, pyduali.aralex, pyduali.araspell
	+sys.path.append('/usr/lib/python2.2/site-packages/pyduali')
	+import aradict, aralex, araspell
	 #from pyduali.arabic import *
5- trans2arabic.py
	@@ -27,7 +27,8 @@
	 #---
	 
	 import sys, getopt, os, string
	-from pyduali.trans_table import *
	+sys.path.append('/usr/lib/python2.2/site-packages/pyduali')
	+from trans_table import *
6- i renamed pyduali.foo in duali.py to foo directly

Flame me for 4, 5 and 6 as you want, but duali.py didn't work except 
with thoose changes "working fine here".

I've created 3 man pages for dict2db.py, duali.py and trans2arabic.py
I'll attach them later or create a bugzilla bug report.

but I have to get some sleep, It's 7:46 am now :-/

execuse my language and grammar now!
Now what's next ?
I can upload the packages, or ask for a sponsor on debian mentors, but 
tomorrow!

-- 
----------------
-- Katoob Main Developer
Linux registered user # 224950
ICQ # 58475622
FIRST make it run, THEN make it run fast "Brian Kernighan".
--
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.fsf.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature

Attachment: pgp00006.pgp
Description: PGP signature