From b917b61e6aead4f353ef15838315ecc0df721e29 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 11 Nov 2014 12:28:08 +0100 Subject: [PATCH] be more explicit about requirements --- libpathod/version.py | 6 +++++- setup.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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 b756dbfe6..02ec25b22 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ setup( }, install_requires=[ - 'netlib>=%s' % version.MINORVERSION, + "netlib>=%s, <%s" % (version.MINORVERSION, version.NEXT_MINORVERSION), "requests>=2.4.1", "Flask>=0.10.1" ],