1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-22 05:48:03 +01:00

Make style consistent across the file

This commit is contained in:
David Paleino
2011-10-17 23:56:28 +02:00
parent bebd0ef985
commit 0cc20c81da

View File

@@ -479,6 +479,7 @@ class uninstall(Command):
def run(self):
os.system("./uninstall.sh")
try:
import wpath
except ImportError:
@@ -518,13 +519,20 @@ try:
(wpath.preconnectscripts, [empty_file]),
(wpath.postconnectscripts, [empty_file]),
]
if not wpath.no_install_gtk:
data.append((wpath.desktop, ['other/wicd.desktop']))
data.append((wpath.bin, ['scripts/wicd-client']))
data.append((wpath.bin, ['scripts/wicd-gtk']))
data.append((wpath.gtk, ['gtk/wicd-client.py', 'gtk/netentry.py', 'gtk/prefs.py',
'gtk/gui.py', 'gtk/guiutil.py', 'data/wicd.ui',
'gtk/configscript.py']))
data.append((wpath.gtk, [
'gtk/wicd-client.py',
'gtk/netentry.py',
'gtk/prefs.py',
'gtk/gui.py',
'gtk/guiutil.py',
'data/wicd.ui',
'gtk/configscript.py',
]))
data.append((wpath.autostart, ['other/wicd-tray.desktop']))
if not wpath.no_install_man:
data.append((wpath.mandir + 'man1/', [ 'man/wicd-client.1' ]))
@@ -613,10 +621,15 @@ wpactrl_ext = Extension(name='wpactrl',
iwscan_ext = Extension(name = 'iwscan', libraries = ['iw'],
sources = ['depends/python-iwscan/pyiwscan.c'])
setup(cmdclass={'configure' : configure, 'get_translations' : get_translations,
'uninstall' : uninstall, 'test' : test, 'clear_generated' :
clear_generated, 'update_translations_py' :
update_translations_py},
setup(
cmdclass = {
'configure' : configure,
'get_translations' : get_translations,
'uninstall' : uninstall,
'test' : test,
'clear_generated' : clear_generated,
'update_translations_py' : update_translations_py,
},
name = "Wicd",
version = VERSION_NUM,
description = "A wireless and wired network manager",
@@ -633,5 +646,5 @@ connect at startup to any preferred network within range.
url = "http://wicd.net",
license = "http://www.gnu.org/licenses/old-licenses/gpl-2.0.html",
py_modules = py_modules,
data_files=data
data_files = data,
)