[yt-svn] commit/yt: ngoldbaum: Merged in xarthisius/yt (pull request #1626)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Jul 9 17:03:38 PDT 2015
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/7d4877bae33a/
Changeset: 7d4877bae33a
Branch: yt
User: ngoldbaum
Date: 2015-07-10 00:03:28+00:00
Summary: Merged in xarthisius/yt (pull request #1626)
Bump cython's version check
Affected #: 1 file
diff -r 98c8bdfbc1e00d4ee2388663a7f4072bbf98fc57 -r 7d4877bae33a4739b0f46c78a11eac5b7db711c1 setup.py
--- a/setup.py
+++ b/setup.py
@@ -49,19 +49,18 @@
REASON_FILES.append((dir_name, files))
# Verify that we have Cython installed
+REQ_CYTHON = '0.22'
try:
import Cython
- if version.LooseVersion(Cython.__version__) < version.LooseVersion('0.16'):
- needs_cython = True
- else:
- needs_cython = False
+ needs_cython = \
+ version.LooseVersion(Cython.__version__) < version.LooseVersion(REQ_CYTHON)
except ImportError as e:
needs_cython = True
if needs_cython:
print("Cython is a build-time requirement for the source tree of yt.")
print("Please either install yt from a provided, release tarball,")
- print("or install Cython (version 0.16 or higher).")
+ print("or install Cython (version %s or higher)." % REQ_CYTHON)
print("You may be able to accomplish this by typing:")
print(" pip install -U Cython")
sys.exit(1)
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list