]> 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:

Merge pull request #52 from robgolding/revert-51-patch-1
[etc/taskwarrior.git] / setup.py
index a275915416c2327702a79f7f3769010a5f3dd41b..360504e12a2700ccf499c9ae87d80e801838cc1e 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,13 @@
 from setuptools import setup, find_packages
 
-version = '0.10.0'
+install_requirements = ['six>=1.4', 'pytz', 'tzlocal']
+
+version = '1.1.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.5.2', 'pytz', 'tzlocal'],
+    install_requires=install_requirements,
     classifiers=[
         'Development Status :: 4 - Beta',
         'Programming Language :: Python',