X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/432b3aa67c40dd92ba2cb0042439ea665b2dcc21..dcf2b8b93cbfc94a86b64d03c0c154a6db671b44:/setup.py?ds=sidebyside diff --git a/setup.py b/setup.py index 1c98ae3..510136e 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,13 @@ from setuptools import setup, find_packages -version = '0.5.0' +install_requirements = ['six>=1.4', 'pytz', 'tzlocal'] + +version = '1.2.0' + +try: + import importlib +except ImportError: + install_requirements.append('importlib') setup( name='tasklib', @@ -15,7 +22,7 @@ setup( packages=find_packages(), include_package_data=True, test_suite='tasklib.tests', - install_requires=['six>=1.4'], + install_requires=install_requirements, classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python',