Skip to content

Commit

Permalink
use environment markers as defined by PEP 426
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
posativ committed Feb 6, 2016
1 parent 1401132 commit 9496d7d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
if (3, 0) <= sys.version_info < (3, 3):
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(
name='isso',
version='0.10.dev0',
Expand All @@ -34,9 +29,15 @@
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3"
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"
],
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={
'console_scripts':
['isso = isso:main'],
Expand Down

0 comments on commit 9496d7d

Please sign in to comment.