3 "Python Risk engine with assorted player interfaces."
5 from distutils.core import setup
7 from os.path import dirname, join, sep
9 from pyrisk import __version__
12 def recursive_file_list(install_root, source_root):
13 if source_root[-1] != sep:
16 for dirpath,dirnames,filenames in walk(source_root):
17 assert dirpath.startswith(source_root), dirpath
18 install_dirpath = join(install_root, dirpath[len(source_root):])
19 r.append((install_dirpath, [join(dirpath, f) for f in filenames]))
22 _this_dir = dirname(__file__)
27 url='http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/pyrisk/',
29 long_description = open(join(_this_dir, 'README'), 'r').read(),
30 download_url='http://www.physics.drexel.edu/code/tar/pyrisk.tgz',
31 author='W. Trevor King',
32 author_email='wking@drexel.edu',
33 package_dir={'pyrisk': 'pyrisk'},
34 data_files=recursive_file_list('share/pyrisk/templates', 'templates'),
36 'Development Status :: 3 - Alpha',
37 #'Environment :: Console',
38 #'Environment :: Console :: Curses',
39 'Intended Audience :: End Users/Desktop',
40 'Intended Audience :: System Administrators',
41 'License :: OSI Approved :: GNU General Public License (GPL)',
42 'Natural Language :: English',
43 'Operating System :: OS Independent',
44 'Programming Language :: Python',
45 'Topic :: Games/Entertainment :: Board Games'