1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
From 74a9b150030b1f01d77929931d6d2455d17f30d6 Mon Sep 17 00:00:00 2001
From: Klaus Zimmermann <klaus_zimmermann@gmx.de>
Date: Wed, 14 Sep 2016 12:10:45 +0200
Subject: Remove check for python version.
The python version in sid at the moment is 2.7.12+.
The + breaks the check, which is superfluous in any case, since
the python2 version is guaranteed to be 2.7 anyway.
Signed-off-by: Klaus Zimmermann <klaus_zimmermann@gmx.de>
---
cf/__init__.py | 8 --------
1 file changed, 8 deletions(-)
diff --git a/cf/__init__.py b/cf/__init__.py
index 6e0a66d..66855f1 100644
--- a/cf/__init__.py
+++ b/cf/__init__.py
@@ -57,14 +57,6 @@ from distutils.version import StrictVersion
import imp
import platform
-# Check the version of python
-if not (StrictVersion('2.6.0')
- <= StrictVersion(platform.python_version())
- < StrictVersion('3.0.0')):
- raise ValueError(
- "Bad python version: cf requires 2.6 <= python < 3.0. Got %s" %
- platform.python_version())
-
## Check the version of numpy
#import numpy
#if StrictVersion(numpy.__version__) < StrictVersion('1.7'):
|