add ipaddress to setup.py
This commit is contained in:
parent
3eeb686d5f
commit
2e632b3795
9
setup.py
9
setup.py
@ -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'],
|
||||||
|
Loading…
Reference in New Issue
Block a user