1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 21:08:06 +01:00

Experimental:

* Added wicd.configmanager to setup.py
This commit is contained in:
compwiz18
2008-09-06 20:30:23 +00:00
parent f7fce478a2
commit 78b93a4b77

View File

@@ -247,7 +247,11 @@ class get_translations(Command):
#msgfmt --output-file=$iden/LC_MESSAGES/wicd.mo po/$iden.po #msgfmt --output-file=$iden/LC_MESSAGES/wicd.mo po/$iden.po
lang_identifier = open(pofile,'r').readlines()[1].strip()[2:] lang_identifier = open(pofile,'r').readlines()[1].strip()[2:]
shutil.move(pofile, lang_identifier+'.po') shutil.move(pofile, lang_identifier+'.po')
print 'Got',lang_identifier print 'Got',lang_identifier% sudo wicd -foe
Traceback (most recent call last):
File "/usr/lib/wicd/wicd-daemon.py", line 59, in <module>
from wicd.configmanager import ConfigManager
ImportError: No module named configmanager
os.makedirs('translations/'+lang_identifier+'/LC_MESSAGES') os.makedirs('translations/'+lang_identifier+'/LC_MESSAGES')
os.system('msgfmt --output-file=translations/'+lang_identifier+'/LC_MESSAGES/wicd.mo '+lang_identifier+'.po') os.system('msgfmt --output-file=translations/'+lang_identifier+'/LC_MESSAGES/wicd.mo '+lang_identifier+'.po')
os.remove(lang_identifier+'.po') os.remove(lang_identifier+'.po')
@@ -359,7 +363,7 @@ connect at startup to any preferred network within range.
url="http://wicd.net", url="http://wicd.net",
license="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html", license="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html",
## scripts=['configscript.py', 'autoconnect.py', 'gui.py', 'wicd.py', 'daemon.py', 'suspend.py', 'monitor.py'], ## scripts=['configscript.py', 'autoconnect.py', 'gui.py', 'wicd.py', 'daemon.py', 'suspend.py', 'monitor.py'],
py_modules=['wicd.networking', 'wicd.misc', 'wicd.gui', 'wicd.wnettools', 'wicd.wpath', 'wicd.prefs', 'wicd.netentry', 'wicd.dbusmanager', 'wicd.logfile', 'wicd.backend'], py_modules=['wicd.networking', 'wicd.misc', 'wicd.gui', 'wicd.wnettools', 'wicd.wpath', 'wicd.prefs', 'wicd.netentry', 'wicd.dbusmanager', 'wicd.logfile', 'wicd.backend', 'wicd.configmanager'],
data_files=data data_files=data
) )
##print "Running post-install configuration..." ##print "Running post-install configuration..."