[Yt-svn] commit/yt: MatthewTurk: Removing the installation of Cython, whose time has come and gone.

Bitbucket commits-noreply at bitbucket.org
Sun Nov 6 06:11:51 PST 2011


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/3fc7d938007f/
changeset:   3fc7d938007f
branch:      yt
user:        MatthewTurk
date:        2011-11-06 12:46:20
summary:     Removing the installation of Cython, whose time has come and gone.
affected #:  1 file

diff -r 81b4c90cb5042468eb70891d72cbaaa9ea689937 -r 3fc7d938007f1057fa2f67090f30386c2cf09fe2 setup.py
--- a/setup.py
+++ b/setup.py
@@ -20,15 +20,10 @@
 try:
     import Cython
 except ImportError as e:
-    print "Received error on importing Cython:"
-    print e
-    print "Now attempting to install Cython"
-    import pip
-    rv = pip.main(["install",
-              "http://yt-project.org/dependencies/Cython-latest.tar.gz"])
-    if rv == 1:
-        print "Unable to install Cython.  Please report this bug to yt-users."
-        sys.exit(1)
+    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.15 or higher)."
+    sys.exit(1)
 
 ######
 # This next bit comes from Matthew Brett, to get Cython working with NumPy

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