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

[fix] follow pep8 guidelines
[etc/taskwarrior.git] / setup.py
index f9b838dc315b8588d682b07ba04da9820ff63bdb..360504e12a2700ccf499c9ae87d80e801838cc1e 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.5.0'
+install_requirements = ['six>=1.4', 'pytz', 'tzlocal']
+
+version = '1.1.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'],
+    install_requires=install_requirements,
     classifiers=[
         'Development Status :: 4 - Beta',
         'Programming Language :: Python',
     classifiers=[
         'Development Status :: 4 - Beta',
         'Programming Language :: Python',