[Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

Derek Homeier derek@astro.physik.uni-goettingen...
Wed Mar 23 17:43:50 CDT 2011


Hi Bruce,

> Sorry as I should I have paid more attention to you first email as I
> raised this on the numpy list. (At least with gmail, the reply is to  
> the
> scipy-dev list rather than the numpy list.)
>
> Based on Pauli's answer I got around it by commenting out a line in  
> the
> setup.py file about the git version:
> http://mail.scipy.org/pipermail/numpy-discussion/2011-March/ 
> 055603.html
>
thanks, I was not subscribed to numpy-discussion (I realise I better  
should before
going into major testing...)! This patch

diff -ruN --exclude='*~' numpy-1.6.0b1.orig/setup.py numpy-1.6.0b1/ 
setup.py
--- numpy-1.6.0b1.orig/setup.py	2011-03-23 09:24:00.000000000 +0100
+++ numpy-1.6.0b1/setup.py	2011-03-23 23:03:19.000000000 +0100
@@ -99,9 +99,10 @@
  FULLVERSION = VERSION
  if os.path.exists('.git'):
      GIT_REVISION = git_version()
-elif os.path.exists('numpy/version.py'):
-    # must be a source distribution, use existing version file
-    from numpy.version import git_revision as GIT_REVISION
+# does not work in a clean source distribution:
+#elif os.path.exists('numpy/version.py'):
+#    # must be a source distribution, use existing version file
+#    from numpy.version import git_revision as GIT_REVISION
  else:
      GIT_REVISION = "Unknown"

did the build for Python3.1 and Python3.2.

Cheers,
						Derek



More information about the NumPy-Discussion mailing list