[yt-svn] commit/yt: ChrisMalone: Merged in drudd/yt (pull request #1259)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Oct 16 08:49:12 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/39285f3a563b/
Changeset: 39285f3a563b
Branch: yt
User: ChrisMalone
Date: 2014-10-16 15:49:01+00:00
Summary: Merged in drudd/yt (pull request #1259)
detect python version in setup.py and restrict to 2.7
Affected #: 1 file
diff -r e425e97fcf9f2f499febf16e6f16df3544cabee9 -r 39285f3a563b2d3575f6e3f4c756f4e541bd5871 setup.py
--- a/setup.py
+++ b/setup.py
@@ -6,6 +6,12 @@
import subprocess
import shutil
import glob
+
+if sys.version_info < (2, 7):
+ print("yt currently requires Python version 2.7")
+ print("certain features may fail unexpectedly and silently with older versions.")
+ sys.exit(1)
+
import setuptools
from distutils.version import StrictVersion
if StrictVersion(setuptools.__version__) < StrictVersion('0.7.0'):
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