diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/HOWTO_BUILD_DOCS.rst.txt | 4 | ||||
-rw-r--r-- | doc/Makefile | 2 | ||||
-rw-r--r-- | doc/source/dev/development_environment.rst | 7 | ||||
-rw-r--r-- | doc/source/user/building.rst | 6 |
4 files changed, 9 insertions, 10 deletions
diff --git a/doc/HOWTO_BUILD_DOCS.rst.txt b/doc/HOWTO_BUILD_DOCS.rst.txt index 8107aaa81..dc0145855 100644 --- a/doc/HOWTO_BUILD_DOCS.rst.txt +++ b/doc/HOWTO_BUILD_DOCS.rst.txt @@ -36,9 +36,7 @@ that the correct version is imported by >>> import numpy Note that you can eg. install Numpy to a temporary location and set -the PYTHONPATH environment variable appropriately. Also note that if -you have a system Numpy installed via Python eggs, you will also need -to use ``setupegg.py`` to install the temporary Numpy. +the PYTHONPATH environment variable appropriately. After Numpy is installed, write:: diff --git a/doc/Makefile b/doc/Makefile index 063ab0db8..52840be92 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -82,7 +82,7 @@ real-dist: dist-build html html-scipyorg dist-build: rm -f ../dist/*.egg - cd .. && $(PYTHON) setupegg.py bdist_egg + cd .. && $(PYTHON) setup.py bdist_egg install -d $(subst :, ,$(INSTALL_PPH)) $(PYTHON) `which easy_install` --prefix=$(INSTALL_DIR) ../dist/*.egg diff --git a/doc/source/dev/development_environment.rst b/doc/source/dev/development_environment.rst index 0fb5a666d..baf8972cd 100644 --- a/doc/source/dev/development_environment.rst +++ b/doc/source/dev/development_environment.rst @@ -62,9 +62,10 @@ test and use your changes (in ``.py`` files), by simply restarting the interpreter. Note that another way to do an inplace build visible outside the repo base dir -is with ``python setup.py develop``. This doesn't work for NumPy, because -NumPy builds don't use ``setuptools`` by default. ``python setupegg.py -develop`` will work though. +is with ``python setup.py develop``. The difference is that this instead of +adjusting ``PYTHONPATH``, this installs a ``.egg-link`` file into your +site-packages as well as adjusts ``easy-install.pth`` there, so its a more +permanent (and magical) operation. Other build options diff --git a/doc/source/user/building.rst b/doc/source/user/building.rst index 8acb2fa3b..d6ca622f9 100644 --- a/doc/source/user/building.rst +++ b/doc/source/user/building.rst @@ -56,9 +56,9 @@ To perform an in-place build that can be run from the source folder run:: python setup.py build_ext --inplace -The NumPy build system uses ``distutils`` and ``numpy.distutils``. -``setuptools`` is only used when building via ``pip`` or with ``python -setupegg.py``. Using ``virtualenv`` should work as expected. +The NumPy build system uses ``setuptools`` (from numpy 1.11.0, before that it +was plain ``distutils``) and ``numpy.distutils``. +Using ``virtualenv`` should work as expected. *Note: for build instructions to do development work on NumPy itself, see* :ref:`development-environment`. |