@ -1,4 +1,5 @@
#!/usr/bin/python
###########################################################################
# setup - description #
# ------------------------------ #
@ -15,12 +16,14 @@
# #
###########################################################################
from distutils . core import Extension
import tdedistutils
###########################################################################
def doit ( ) :
tdedistutils . setup ( name = " guidance " ,
tdedistutils . setup (
name = " guidance " ,
version = " 0.8.0 " ,
author = " Simon Edwards " ,
author_email = " simon@simonzone.com " ,
@ -28,22 +31,34 @@ def doit():
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 ' ,
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.svg ' ] ) ] ,
' kde/wineconfig/pics/16x16/wineconfig.pn g' ] ) ] ,
i18n = ( ' po ' , [ ' mountconfig ' , ' userconfig ' , ' serviceconfig ' , ' wineconfig ' ] ) ,
application_data = [ ( ' pics ' ,
[ ' kde/serviceconfig/pics/laserwarn.png ' ,
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 ' ,
@ -91,22 +106,6 @@ def doit():
' 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 ' ) ] ,
' grubconfig/grubconfig.py ' ] )
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 ' ] ) ]
)
doit ( )