aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-02-04 18:44:40 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-02-04 18:44:40 +0100
commitb077edbc92020e52cdd79d6ddc10ebbef704c60f (patch)
tree2f5b2e8900f468d99326c46a6c5df6431a1dac43
parenta4a8b38dc84150a7971171bc323327eb4ee9b531 (diff)
downloadmitmproxy-b077edbc92020e52cdd79d6ddc10ebbef704c60f.tar.gz
mitmproxy-b077edbc92020e52cdd79d6ddc10ebbef704c60f.tar.bz2
mitmproxy-b077edbc92020e52cdd79d6ddc10ebbef704c60f.zip
setup.py: no range operators for env markers
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 59d4a261..94902085 100644
--- a/setup.py
+++ b/setup.py
@@ -73,7 +73,9 @@ setup(
"urwid>=1.3.1",
"lxml>=3.5.0",
],
- ':python_version < "3.4"': [
+ # Do not use a range operator here: https://bitbucket.org/pypa/setuptools/issues/380
+ # Ubuntu Trusty and other still ship with setuptools < 17.1
+ ':python_version == "2.7"': [
"enum34>=1.0.4",
],
'dev': [