Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / simulator / pgu-0.18 / setup.py
1 #! /usr/bin/env python
2
3 try:
4     from distutils.core import setup
5 except:
6     from setuptools import setup
7
8 import sys, os
9 from glob import glob
10
11 #############################################################################
12 ### Main setup stuff
13 #############################################################################
14
15 def main():
16     # Add themes from the data folder
17     installdatafiles = []
18     for name in ("default", "gray", "tools"):
19         installdatafiles.append(
20             (os.path.join("share", "pgu", "themes", name), glob(os.path.join("data", "themes", name, "*")))
21         )
22
23     #import pprint
24     #pprint.pprint(installdatafiles)
25     
26     # perform the setup action
27     from pgu import __version__
28     setup_args = {
29         'name': "pgu",
30         'version': __version__,
31         'description': "Phil's pyGame Utilities - a collection of handy "
32             "modules and scripts for PyGame.",
33         'long_description':
34 '''Phil's pyGame Utilities - a collection of handy modules and scripts for PyGame.
35
36 tileedit  -- edit tga based images
37 leveledit -- edit tga based levels in tile, isometric, and hexagonal formats
38
39 gui     -- gui with standard widget, dialog, connections, and themes
40 html    -- html rendering utilities
41 layout  -- layout utilities
42 text    -- text rendering utilities
43
44 tilevid -- sprite and tile engine
45 isovid  -- isometric sprite and tile engine
46 hexvid  -- hexagonal sprite and tile engine
47 engine  -- state engine
48 timer   -- a timer for games with set-rate FPS
49 high    -- high score tracking
50 ani     -- animation helpers
51 algo    -- helpful pathfinding algoritms
52 fonts   -- font wrappers, bitmapped fonts
53 ''',
54         'author': "Phil Hassey",
55         'author_email': "[email protected]",
56         'url': 'http://www.imitationpickles.org/pgu/',
57         'packages': ['pgu','pgu.gui'],
58         'classifiers': [
59             'Development Status :: 4 - Beta',
60             'Intended Audience :: Developers',
61             'Operating System :: MacOS :: MacOS X',
62             'Operating System :: Microsoft :: Windows',
63             'Operating System :: POSIX',
64             'Programming Language :: Python',
65         ],
66         'data_files': installdatafiles,
67     'scripts': ['scripts/tileedit','scripts/leveledit','scripts/tganew','scripts/levelfancy'],
68     }
69     setup(**setup_args)
70
71 if __name__ == '__main__':
72     main()
73
74 # vim: set filetype=python sts=4 sw=4 et si :

UCC git Repository :: git.ucc.asn.au