add ipaddress to setup.py

This commit is contained in:
Martin Zimmermann 2013-09-13 17:51:00 +02:00
parent 3eeb686d5f
commit 2e632b3795

View File

@ -1,8 +1,15 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
import sys
from setuptools import setup, find_packages 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( setup(
name='isso', name='isso',
version='0.1', version='0.1',
@ -23,7 +30,7 @@ setup(
"Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7" "Programming Language :: Python :: 2.7"
], ],
install_requires=['Jinja2>=2.7', 'werkzeug>=0.9', 'itsdangerous', 'misaka', 'html5lib'], install_requires=requires,
entry_points={ entry_points={
'console_scripts': 'console_scripts':
['isso = isso:main'], ['isso = isso:main'],