be more explicit about requirements

This commit is contained in:
Maximilian Hils 2014-11-11 12:30:51 +01:00
parent 6f3b4eee3c
commit f19ee74b99
2 changed files with 6 additions and 2 deletions

View File

@ -3,3 +3,7 @@ VERSION = ".".join(str(i) for i in IVERSION)
MINORVERSION = ".".join(str(i) for i in IVERSION[:2])
NAME = "mitmproxy"
NAMEVERSION = NAME + " " + VERSION
NEXT_MINORVERSION = list(IVERSION)
NEXT_MINORVERSION[1] += 1
NEXT_MINORVERSION = ".".join(str(i) for i in NEXT_MINORVERSION[:2])

View File

@ -16,7 +16,7 @@ if os.name != "nt":
scripts.append("mitmproxy")
deps = {
"netlib>=%s" % version.MINORVERSION,
"netlib>=%s, <%s" % (version.MINORVERSION, version.NEXT_MINORVERSION),
"pyasn1>0.1.2",
"pyOpenSSL>=0.14",
"Flask>=0.10.1",
@ -81,7 +81,7 @@ setup(
"nose>=1.3.0",
"nose-cov>=1.6",
"coveralls>=0.4.1",
"pathod>=%s" % version.MINORVERSION
"pathod>=%s, <%s" % (version.MINORVERSION, version.NEXT_MINORVERSION)
],
'contentviews': [
"pyamf>=0.6.1",