diff options
author | Martin Zimmermann <info@posativ.org> | 2013-09-13 17:51:00 +0200 |
---|---|---|
committer | Martin Zimmermann <info@posativ.org> | 2013-09-13 17:51:00 +0200 |
commit | 2e632b37953cb7cd3d10df1d9766c6b278f31079 (patch) | |
tree | d623267756c373ba542a34cae78bdb41633762dc /setup.py | |
parent | 3eeb686d5f4e1e3908df5e0d0a89acc7e0ab9aee (diff) |
add ipaddress to setup.py
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,8 +1,15 @@ #!/usr/bin/env python # -*- encoding: utf-8 -*- +import sys + from setuptools import setup, find_packages +requires = ['Jinja2>=2.7', 'werkzeug>=0.9', 'itsdangerous', 'misaka', 'html5lib'] + +if sys.version_info < (3, 0): + requires += ['ipaddress'] + setup( name='isso', version='0.1', @@ -23,7 +30,7 @@ setup( "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], - install_requires=['Jinja2>=2.7', 'werkzeug>=0.9', 'itsdangerous', 'misaka', 'html5lib'], + install_requires=requires, entry_points={ 'console_scripts': ['isso = isso:main'], |