]> git.madduck.net Git - etc/taskwarrior.git/blobdiff - setup.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Loosen the version requirement for six
[etc/taskwarrior.git] / setup.py
index 1c98ae3968f7819e93c02a1caefd874f4712afd9..2b09f1b20f16f0ee0721ce5052f1ae47861a885e 100644 (file)
--- 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.0.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',