Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2410547 + d450ca9 commit 6a02337Copy full SHA for 6a02337
setupext.py
@@ -46,7 +46,7 @@
46
import os
47
import re
48
import subprocess
49
-from distutils import sysconfig, version
+from distutils import sysconfig
50
51
basedir = {
52
'win32' : ['win32_static',],
@@ -550,8 +550,8 @@ def check_for_numpy(min_version):
550
min_version)
551
return False
552
553
- expected_version = version.StrictVersion(min_version)
554
- found_version = version.StrictVersion(numpy.__version__)
+ expected_version = min_version.split('.')
+ found_version = numpy.__version__.split('.')
555
if not found_version >= expected_version:
556
print_message(
557
'numpy %s or later is required; you have %s' %
0 commit comments