diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2013-09-03 22:28:55 -0400 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2013-09-03 22:28:55 -0400 |
commit | 13565f151021d1eb14147bf58b7aedc42cd4d875 (patch) | |
tree | a556fc21577b1fc6cdbd98cdcdbf1cbe928030e9 /setup.py | |
parent | 75d1646199385b11ab3a5f4cbb7da6732adb15e5 (diff) | |
download | pies-13565f151021d1eb14147bf58b7aedc42cd4d875.tar.gz |
1.0.2 release, with smarter imports and support for argparser
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,15 +1,22 @@ #!/usr/bin/env python from distutils.core import setup +import sys + +py_modules = ['pies'] +install_requires = [] +if sys.version < '3': + install_requires += ['ordereddict', 'argparse'] + py_modules += ['configparser'] setup(name='pies', - version='1.0.1', + version='1.0.2', description='The simplest way to write one program that runs on both Python 2 and Python 3.', author='Timothy Crosley', author_email='timothy.crosley@gmail.com', url='https://github.com/timothycrosley/pies', download_url='https://github.com/timothycrosley/pies/blob/master/dist/pies-1.0.0.tar.gz?raw=true', license="GNU GPLv2", - install_requires=['ordereddict'], - requires=['ordereddict'], - py_modules=['pies']) + install_requires=install_requires, + requires=install_requires, + py_modules=py_modules) |