From 60584387ff860befe38ada5ec9d35f3c529d0238 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 11 Nov 2014 12:26:20 +0100 Subject: [PATCH] be more explicit about requirements --- netlib/version.py | 4 ++++ setup.py | 2 +- test/requirements.txt | 5 ----- 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 test/requirements.txt diff --git a/netlib/version.py b/netlib/version.py index 913f753a1..15a8edf94 100644 --- a/netlib/version.py +++ b/netlib/version.py @@ -5,3 +5,7 @@ VERSION = ".".join(str(i) for i in IVERSION) MINORVERSION = ".".join(str(i) for i in IVERSION[:2]) NAME = "netlib" 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 ad3073fc6..f6f8907ca 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ setup( "nose>=1.3.0", "nose-cov>=1.6", "coveralls>=0.4.1", - "pathod>=0.%s" % version.MINORVERSION + "pathod>=%s, <%s" % (version.MINORVERSION, version.NEXT_MINORVERSION) ] } ) \ No newline at end of file diff --git a/test/requirements.txt b/test/requirements.txt deleted file mode 100644 index b13080b42..000000000 --- a/test/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -mock>=1.0.1 -nose>=1.3.0 -nose-cov>=1.6 -coveralls>=0.4.1 -pathod>=0.11