From 5cec1bf1b644c33cffe96e8f8ebd11a1a343bc6d Mon Sep 17 00:00:00 2001 From: Terry Chia Date: Sun, 22 Mar 2015 11:49:08 +0800 Subject: Add plumbing for hypothesis. --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index b36f3de6..ea2ea181 100644 --- a/setup.py +++ b/setup.py @@ -62,6 +62,10 @@ test_requirements = [ "iso8601", ] +if sys.version_info[:2] == (2, 6): + test_requirements.append("hypothesis") + test_requirements.append("hypothesis-pytest") + # If there's no vectors locally that probably means we are in a tarball and # need to go and get the matching vectors package from PyPi if not os.path.exists(os.path.join(base_dir, "vectors/setup.py")): -- cgit v1.2.3 From 6325d5c9bc54b81e0354127523b7ac449c56c0a1 Mon Sep 17 00:00:00 2001 From: Terry Chia Date: Sun, 22 Mar 2015 16:36:19 +0800 Subject: == should be !=. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index ea2ea181..d00f9fe8 100644 --- a/setup.py +++ b/setup.py @@ -62,7 +62,7 @@ test_requirements = [ "iso8601", ] -if sys.version_info[:2] == (2, 6): +if sys.version_info[:2] != (2, 6): test_requirements.append("hypothesis") test_requirements.append("hypothesis-pytest") -- cgit v1.2.3 From 36a787ff216dff16e49c3cbc8895515588697337 Mon Sep 17 00:00:00 2001 From: Terry Chia Date: Wed, 30 Sep 2015 19:13:14 +0800 Subject: Address comments. --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index d00f9fe8..167b62e0 100644 --- a/setup.py +++ b/setup.py @@ -60,12 +60,10 @@ test_requirements = [ "pytest<2.8", "pretend", "iso8601", + "hypothesis", + "hypothesis-pytest", ] -if sys.version_info[:2] != (2, 6): - test_requirements.append("hypothesis") - test_requirements.append("hypothesis-pytest") - # If there's no vectors locally that probably means we are in a tarball and # need to go and get the matching vectors package from PyPi if not os.path.exists(os.path.join(base_dir, "vectors/setup.py")): -- cgit v1.2.3