Skip to content

Commit 04b0ab4

Browse files
author
Ilan Schnell
committed
Merge commit 'd5ed74419bfae16427da975de6140c1c945cf7c5' (Nov 10) into refactor
Conflicts: setup.py
2 parents 6be6888 + d5ed744 commit 04b0ab4

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

doc/HOWTO_RELEASE.txt

+15-9
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,12 @@ Doc wiki
3434

3535
Supported platforms and versions
3636
================================
37-
Python 2.4-2.6 are the currently supported versions on all platforms.
38-
NumPy 1.5 and 2.0 should include support for Python 2.7 and >=3.1.
37+
Python 2.4-2.7 and >=3.1 are the currently supported versions on all platforms.
3938

4039
OS X
4140
----
42-
OS X 10.4 (Tiger), 10.5 (Leopard) and 10.6 (Snow Leopard) are supported for the 1.4.x
43-
releases. Note that only the Python from `python.org <http://python.org>`_ is
41+
OS X 10.4 (Tiger), 10.5 (Leopard) and 10.6 (Snow Leopard) are supported.
42+
Note that only the Python from `python.org <http://python.org>`_ is
4443
supported. Binaries do *not* support Apple Python.
4544

4645
Windows
@@ -67,22 +66,29 @@ Compilers
6766
The same gcc version is used as the one with which Python itself is built on
6867
each platform. At the moment this means:
6968

70-
* OS X uses gcc 4.0
69+
* OS X uses gcc-4.0 (since that is what Python itself is built with).
7170
* Windows build uses latest released version from MinGW, now at 3.4.5.
7271

73-
Cython >= 0.12 is needed.
72+
Cython is not needed for building the binaries, because generated C files from
73+
Cython sources are checked in at the moment. It is worth keeping an eye on what
74+
Cython versions have been used to generate all current C files, it should be
75+
the same and most recent version (0.12.1 as of now).
7476

7577
Fortran: on OS X gfortran from `this site <http://r.research.att.com/tools/>`_
7678
is used. On Windows g77 (included in MinGW) is the current default, in the future
7779
this may shift to gfortran as well.
7880

7981
Python
8082
------
81-
* Python from `python.org <http://python.org>`_
83+
* Python(s) from `python.org <http://python.org>`_
8284
* virtualenv
8385
* paver
8486
* bdist_mpkg
85-
* `numpy-macosx-installer <http://github.com/cournape/numpy-macosx-installer>`_
87+
88+
Python itself should be installed multiple times - each version a binary is
89+
built for should be installed. The other dependencies only have to be installed
90+
for the default Python version on the system. The same applies to the doc-build
91+
dependencies below.
8692

8793
Building docs
8894
-------------
@@ -154,7 +160,7 @@ What is released
154160

155161
Binaries
156162
--------
157-
Windows binaries in "superpack" form for Python 2.5 and 2.6. A superpack
163+
Windows binaries in "superpack" form for Python 2.5/2.6/2.7/3.1. A superpack
158164
contains three builds, for SSE2, SSE3 and no SSE.
159165

160166
OS X binaries are made in dmg format, targeting only the Python from

numpy/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
its source directory; please exit the numpy source tree, and relaunch
127127
your python intepreter from there."""
128128
raise ImportError(msg)
129+
from version import git_revision as __git_revision__
129130
from version import version as __version__
130131

131132
from _import_tools import PackageLoader

0 commit comments

Comments
 (0)