Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4f9547

Browse files
committed
Fix setup.py in python2.6 and setuptools 0.6
In python2.6, the setuptools version is '0.6' which do not support wild-card in version. The result is pip install failed. This patch fix it.
1 parent fbba28b commit a4f9547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
requirements.append('argparse')
4646

4747
if sys.version_info < (2, 7):
48-
requirements.append('gevent==1.1.*')
48+
requirements.append('gevent>=1.1.0,<1.2.0')
4949
elif sys.version_info < (3, 0):
5050
requirements.append('gevent>=1.0')
5151
else:

0 commit comments

Comments
 (0)