use environment markers as defined by PEP 426
This is a quote from http://wheel.readthedocs.org/en/latest/. I have no idea what I'm doing. Tested the universal wheel on Python 2.6, 2.7 and 3.4 with pip 7.1. I have no idea what happens with older versions of pip. There is absolutely no documentation. Typical python packaging experience.
This commit is contained in:
parent
1401132c73
commit
9496d7d4c2
13
setup.py
13
setup.py
@ -10,11 +10,6 @@ requires = ['itsdangerous', 'misaka>=1.0,<2.0', 'html5lib==0.9999999']
|
|||||||
if (3, 0) <= sys.version_info < (3, 3):
|
if (3, 0) <= sys.version_info < (3, 3):
|
||||||
raise SystemExit("Python 3.0, 3.1 and 3.2 are not supported")
|
raise SystemExit("Python 3.0, 3.1 and 3.2 are not supported")
|
||||||
|
|
||||||
if sys.version_info < (3, 0):
|
|
||||||
requires += ['ipaddr>=2.1', 'configparser', 'werkzeug>=0.8']
|
|
||||||
else:
|
|
||||||
requires += ['werkzeug>=0.9']
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='isso',
|
name='isso',
|
||||||
version='0.10.dev0',
|
version='0.10.dev0',
|
||||||
@ -34,9 +29,15 @@ setup(
|
|||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
"Programming Language :: Python :: 2.6",
|
"Programming Language :: Python :: 2.6",
|
||||||
"Programming Language :: Python :: 2.7",
|
"Programming Language :: Python :: 2.7",
|
||||||
"Programming Language :: Python :: 3.3"
|
"Programming Language :: Python :: 3.3",
|
||||||
|
"Programming Language :: Python :: 3.4"
|
||||||
],
|
],
|
||||||
install_requires=requires,
|
install_requires=requires,
|
||||||
|
extras_require={
|
||||||
|
':python_version=="2.6"': ['argparse', 'ordereddict'],
|
||||||
|
':python_version<="2.7"': ['ipaddr>=2.1', 'configparser', 'werkzeug>=0.8'],
|
||||||
|
':python_version>="3.0"': ['werkzeug>=0.9']
|
||||||
|
},
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts':
|
'console_scripts':
|
||||||
['isso = isso:main'],
|
['isso = isso:main'],
|
||||||
|
Loading…
Reference in New Issue
Block a user