summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-07-09 12:17:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-07-09 12:36:49 +0900
commit17a64f9aab81d3480be3ee47c420239332333d25 (patch)
tree39c039386f2699215bd533684b91be9bcc044e02
parent524a57e84a52c312c8fff1e39f64fdf86405127d (diff)
downloadtde-guidance-17a64f9aab81d3480be3ee47c420239332333d25.tar.gz
tde-guidance-17a64f9aab81d3480be3ee47c420239332333d25.zip
Some cleanup/cosmetics.
Change the wineconfig svg icon for the png one. This relates to PR #2. Signed-off-by: gregory guy <gregory-tde@laposte.net> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a1a8275bb1a3c02f0fb308d3ff05edc070859f82)
-rw-r--r--[-rwxr-xr-x]setup.py163
1 files changed, 81 insertions, 82 deletions
diff --git a/setup.py b/setup.py
index 1d0d485..97d555e 100755..100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,5 @@
#!/usr/bin/python
+
###########################################################################
# setup - description #
# ------------------------------ #
@@ -15,98 +16,96 @@
# #
###########################################################################
+
from distutils.core import Extension
import tdedistutils
-###########################################################################
+
def doit():
- tdedistutils.setup(name="guidance",
- version="0.8.0",
- author="Simon Edwards",
- author_email="simon@simonzone.com",
- url="http://www.simonzone.com/software/guidance/",
+ tdedistutils.setup(
+ name = "guidance",
+ version = "0.8.0",
+ author = "Simon Edwards",
+ author_email = "simon@simonzone.com",
+ url = "http://www.simonzone.com/software/guidance/",
min_kde_version = "3.0.0",
min_qt_version = "3.0.0",
license = "GPL",
+ docbooks = [('doc/en','en')],
+ package_dir = {'':'modules'},
+ py_modules = ['xf86misc'],
+
+ ext_modules = [Extension('ixf86misc',\
+ sources = ['modules/ixf86misc.c'],\
+ library_dirs = ['/usr/X11R6/lib'],\
+ libraries = ['X11','Xxf86vm','Xext','Xrandr','Xrender','Xss'])],
+
executable_links = [('serviceconfig','serviceconfig.py'),
- ('userconfig','userconfig.py'),
- ('mountconfig','mountconfig.py'),
- ('wineconfig','wineconfig.py'),
- ('grubconfig','grubconfig.py')],
-
- data_files = [# Icons for in KControl
- ('share/icons/crystalsvg/16x16/apps',['kde/serviceconfig/pics/16x16/daemons.png',
- 'kde/mountconfig/pics/16x16/disksfilesystems.png',
- 'kde/userconfig/pics/16x16/userconfig.png',
- 'kde/wineconfig/pics/16x16/wineconfig.svg'])],
+ ('userconfig','userconfig.py'),
+ ('mountconfig','mountconfig.py'),
+ ('wineconfig','wineconfig.py'),
+ ('grubconfig','grubconfig.py')],
- i18n = ('po',['mountconfig','userconfig','serviceconfig','wineconfig']),
+ kcontrol_modules = [('serviceconfig/serviceconfig.desktop','serviceconfig.py'),
+ ('userconfig/userconfig.desktop','userconfig.py'),
+ ('mountconfig/mountconfig.desktop','mountconfig.py'),
+ ('wineconfig/wineconfig.desktop','wineconfig.py')],
- application_data = [('pics',
- ['kde/serviceconfig/pics/laserwarn.png',
- 'kde/serviceconfig/pics/hi32-app-daemons.png',
- 'kde/userconfig/pics/hi16-encrypted.png',
- 'kde/userconfig/pics/hi32-user.png',
- 'kde/userconfig/pics/hi32-group.png',
- 'kde/userconfig/pics/hi32-identity.png',
- 'kde/userconfig/pics/hi32-password.png',
- 'kde/mountconfig/pics/kcmpartitions.png',
- 'kde/mountconfig/pics/trinity1.png',
- 'kde/mountconfig/pics/trinity2.png',
- 'kde/mountconfig/pics/trinity3.png',
- 'kde/mountconfig/pics/trinity4.png',
- 'kde/mountconfig/pics/trinity5.png',
- 'kde/mountconfig/pics/trinity6.png',
- 'kde/mountconfig/pics/hi32-samba.png',
- 'kde/mountconfig/pics/hi16-hdd.png',
- 'kde/mountconfig/pics/hi16-cdrom.png',
- 'kde/mountconfig/pics/hi16-burner.png',
- 'kde/mountconfig/pics/hi16-floppy.png',
- 'kde/mountconfig/pics/hi16-blockdevice.png',
- 'kde/mountconfig/pics/hi16-password.png',
- 'kde/mountconfig/pics/hi16-memory.png',
- 'kde/mountconfig/pics/hi16-network.png',
- 'kde/mountconfig/pics/hi16-lock.png',
- 'kde/mountconfig/pics/hi16-usbpen.png',
- 'kde/mountconfig/pics/greenled.png',
- 'kde/mountconfig/pics/greyled.png',
- 'kde/mountconfig/pics/exec.png',
- 'kde/mountconfig/pics/file.png',
- 'kde/mountconfig/pics/important.png',
- 'kde/mountconfig/pics/tux.png',
- 'kde/mountconfig/pics/user.png',
- 'kde/wineconfig/pics/32-wine.png',
- 'kde/wineconfig/pics/kdewinewizard.png']),
- 'serviceconfig/serviceconfig.py',
- 'userconfig/userconfig.py',
- 'userconfig/unixauthdb.py',
- 'mountconfig/mountconfig.py',
- 'mountconfig/MicroHAL.py',
- 'mountconfig/SMBShareSelectDialog.py',
- 'mountconfig/SimpleCommandRunner.py',
- 'mountconfig/fuser.py',
- 'mountconfig/fuser_ui.ui',
- 'mountconfig/sizeview.py',
- 'wineconfig/wineconfig.py',
- 'wineconfig/wineread.py',
- 'wineconfig/winewrite.py',
- 'wineconfig/drivedetect.py',
- 'grubconfig/grubconfig.py'],
-
- kcontrol_modules = [ \
- ('serviceconfig/serviceconfig.desktop','serviceconfig.py'),
- ('userconfig/userconfig.desktop','userconfig.py'),
- ('mountconfig/mountconfig.desktop','mountconfig.py'),
- ('wineconfig/wineconfig.desktop','wineconfig.py')],
+ data_files = [('share/icons/crystalsvg/16x16/apps',['kde/serviceconfig/pics/16x16/daemons.png',
+ 'kde/mountconfig/pics/16x16/disksfilesystems.png',
+ 'kde/userconfig/pics/16x16/userconfig.png',
+ 'kde/wineconfig/pics/16x16/wineconfig.png'])],
+
+ i18n = ('po',['mountconfig','userconfig','serviceconfig','wineconfig']),
- docbooks = [ ('doc/en','en') ],
+ application_data = [('pics',['kde/serviceconfig/pics/laserwarn.png',
+ 'kde/serviceconfig/pics/hi32-app-daemons.png',
+ 'kde/userconfig/pics/hi16-encrypted.png',
+ 'kde/userconfig/pics/hi32-user.png',
+ 'kde/userconfig/pics/hi32-group.png',
+ 'kde/userconfig/pics/hi32-identity.png',
+ 'kde/userconfig/pics/hi32-password.png',
+ 'kde/mountconfig/pics/kcmpartitions.png',
+ 'kde/mountconfig/pics/trinity1.png',
+ 'kde/mountconfig/pics/trinity2.png',
+ 'kde/mountconfig/pics/trinity3.png',
+ 'kde/mountconfig/pics/trinity4.png',
+ 'kde/mountconfig/pics/trinity5.png',
+ 'kde/mountconfig/pics/trinity6.png',
+ 'kde/mountconfig/pics/hi32-samba.png',
+ 'kde/mountconfig/pics/hi16-hdd.png',
+ 'kde/mountconfig/pics/hi16-cdrom.png',
+ 'kde/mountconfig/pics/hi16-burner.png',
+ 'kde/mountconfig/pics/hi16-floppy.png',
+ 'kde/mountconfig/pics/hi16-blockdevice.png',
+ 'kde/mountconfig/pics/hi16-password.png',
+ 'kde/mountconfig/pics/hi16-memory.png',
+ 'kde/mountconfig/pics/hi16-network.png',
+ 'kde/mountconfig/pics/hi16-lock.png',
+ 'kde/mountconfig/pics/hi16-usbpen.png',
+ 'kde/mountconfig/pics/greenled.png',
+ 'kde/mountconfig/pics/greyled.png',
+ 'kde/mountconfig/pics/exec.png',
+ 'kde/mountconfig/pics/file.png',
+ 'kde/mountconfig/pics/important.png',
+ 'kde/mountconfig/pics/tux.png',
+ 'kde/mountconfig/pics/user.png',
+ 'kde/wineconfig/pics/32-wine.png',
+ 'kde/wineconfig/pics/kdewinewizard.png']),
+ 'serviceconfig/serviceconfig.py',
+ 'userconfig/userconfig.py',
+ 'userconfig/unixauthdb.py',
+ 'mountconfig/mountconfig.py',
+ 'mountconfig/MicroHAL.py',
+ 'mountconfig/SMBShareSelectDialog.py',
+ 'mountconfig/SimpleCommandRunner.py',
+ 'mountconfig/fuser.py',
+ 'mountconfig/fuser_ui.ui',
+ 'mountconfig/sizeview.py',
+ 'wineconfig/wineconfig.py',
+ 'wineconfig/wineread.py',
+ 'wineconfig/winewrite.py',
+ 'wineconfig/drivedetect.py',
+ 'grubconfig/grubconfig.py'])
- package_dir={'':'modules'},
- py_modules=['xf86misc'],
- ext_modules=[\
- Extension('ixf86misc',\
- sources=['modules/ixf86misc.c'],\
- library_dirs=['/usr/X11R6/lib'],\
- libraries=['X11','Xxf86vm','Xext','Xrandr','Xrender','Xss'])]
- )
doit()