diff --git a/libpathod/version.py b/libpathod/version.py index ad539392a..7022c843c 100644 --- a/libpathod/version.py +++ b/libpathod/version.py @@ -2,4 +2,8 @@ IVERSION = (0, 11) VERSION = ".".join(str(i) for i in IVERSION) MINORVERSION = ".".join(str(i) for i in IVERSION[:2]) NAME = "pathod" -NAMEVERSION = NAME + " " + VERSION \ No newline at end of file +NAMEVERSION = NAME + " " + VERSION + +NEXT_MINORVERSION = list(IVERSION) +NEXT_MINORVERSION[1] += 1 +NEXT_MINORVERSION = ".".join(str(i) for i in NEXT_MINORVERSION[:2]) \ No newline at end of file diff --git a/setup.py b/setup.py index fc350ae24..cb2b7798e 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ setup( include_package_data=True, scripts = ["pathod", "pathoc"], install_requires=[ - 'netlib>=%s' % version.MINORVERSION, + "netlib>=%s, <%s" % (version.MINORVERSION, version.NEXT_MINORVERSION), # It's INSANE that we have to do this, but... # FIXME: Requirement to be removed at next release "pip>=1.5.6",