from pysawsim import __version__
+package_name = 'sawsim'
+python_package_name = 'pysawsim'
+
SCRIPT_DIR = 'bin'
scripts = [os.path.join(SCRIPT_DIR, s) for s in listdir(SCRIPT_DIR)
if s.endswith('.py')]
+packages = [
+ 'pysawsim',
+ 'pysawsim.manager',
+ 'pysawsim.test']
_this_dir = os.path.dirname(__file__)
+
setup(
- name='pysawsim',
+ name=python_package_name,
version=__version__,
author='W. Trevor King',
author_email='wking@drexel.edu',
description=__doc__,
long_description = open(os.path.join(_this_dir, 'README'), 'r').read(),
- url='http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/sawsim/',
- packages=['pysawsim',
- 'pysawsim.manager',
- 'pysawsim.test'],
+ url='http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/%s/' % package_name,
+ download_url='http://www.physics.drexel.edu/~wking/code/python/%s-%s.tar.gz' % (package_name, __version__),
+ packages=packages,
+ provides=packages,
scripts=scripts,
)