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

backends: Remove redundant import
[etc/taskwarrior.git] / setup.py
index d62e437fbc8cde437a177904a94b1a2c100bbaae..27e369f5dc7a35b4acab4035aa648a42d8a99b0b 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,13 @@
 from setuptools import setup, find_packages
 
 from setuptools import setup, find_packages
 
-version = '0.9.0'
+install_requirements = ['six==1.5.2', 'pytz', 'tzlocal']
+
+version = '0.10.0'
+
+try:
+    import importlib
+except ImportError:
+    install_requirements.append('importlib')
 
 setup(
     name='tasklib',
 
 setup(
     name='tasklib',
@@ -15,7 +22,7 @@ setup(
     packages=find_packages(),
     include_package_data=True,
     test_suite='tasklib.tests',
     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',
     classifiers=[
         'Development Status :: 4 - Beta',
         'Programming Language :: Python',