7 from distutils.core import setup
8 from distutils.sysconfig import get_python_lib
9 import os, glob, shutil
14 modulepaths = {'ALPHABETDIR':os.path.join(PREFIX, 'share', 'games', 'childsplay', 'alphabetsounds')}
15 modulepaths['BASEDIR'] = os.path.join(PREFIX, 'childsplay_sp')
16 modulepaths['SHARELIBDATADIR'] = os.path.join(PREFIX, 'share', 'games', 'childsplay')
17 modulepaths['LOCALEDIR'] = os.path.join(PREFIX, 'share', 'locale')
18 modulepaths['PYTHONCPDIR'] = os.path.join(get_python_lib(), 'childsplay_sp')
20 module = 'SPBasePaths.py'
22 filelines = ["# AUTO-GENERATED MODULE, DON'T EDIT", \
23 "# This module holds all the paths needed for childsplay.\n"]
24 for k, v in modulepaths.items():
25 filelines.append("%s = '%s'" % (k, v))
27 f.write("\n".join(filelines))
29 sys.argv.insert(1, '--quiet')
31 DESCRIPTION = """childsplay is a collection of educational activities and
32 comes with extensive data collecting and multi user support."""
33 VERSION = Version.version
34 setup(name="childsplay_sp",
37 url="http://schoolsplay.sf.net",
38 author="Stas Zytkiewicz",
39 author_email="stas.zytkiewicz@gmail.com",
40 description="Collection of educational activities",
41 long_description=DESCRIPTION,
42 packages=['childsplay_sp', 'childsplay_sp.gui', 'childsplay_sp.lib', \
43 'childsplay_sp.ocempgui', \
44 'childsplay_sp.ocempgui.access', 'childsplay_sp.ocempgui.draw', \
45 'childsplay_sp.ocempgui.events', 'childsplay_sp.ocempgui.object', \
46 'childsplay_sp.ocempgui.widgets', \
47 'childsplay_sp.ocempgui.widgets.components', \
48 'childsplay_sp.ocempgui.widgets.images', \
49 'childsplay_sp.ocempgui.widgets.themes', \
50 'childsplay_sp.ocempgui.widgets.themes.default'],
51 package_dir={'childsplay_sp':''}