diff options
author | Jon Parise <jon@indelible.org> | 2012-08-02 11:36:25 -0700 |
---|---|---|
committer | Jon Parise <jon@indelible.org> | 2012-08-02 11:36:25 -0700 |
commit | aec2d58ca6575bf0b00668ca1ce451e9562c1a7b (patch) | |
tree | e616523b4ac5d85213c65dade5176cef0ef39213 | |
parent | 69cf3caf565c586d534b5071e024648ca27ff1a4 (diff) | |
download | times-aec2d58ca6575bf0b00668ca1ce451e9562c1a7b.tar.gz |
Remove the version-specific python-dateutil logic.
python-dateutil 2.1 is compatible with both Python 2.x and 3.x (with
help from the six package).
-rw-r--r-- | setup.py | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -11,15 +11,6 @@ def get_version(): return VERSION raise RuntimeError('No version info found.') - -def get_dependencies(): - deps = ['pytz'] - if sys.version_info[0] == 3: # Python >= 3 - deps.append('python-dateutil >= 2') - else: - deps.append('python-dateutil < 2') - return deps - setup( name='times', version=get_version(), @@ -35,7 +26,7 @@ setup( include_package_data=True, zip_safe=False, platforms='any', - install_requires=get_dependencies(), + install_requires=['pytz', 'python-dateutil'], classifiers=[ # As from http://pypi.python.org/pypi?%3Aaction=list_classifiers #'Development Status :: 1 - Planning', |