diff options
author | Matthias Bussonnier <mbussonnier@ucmerced.edu> | 2019-07-23 12:10:31 -0700 |
---|---|---|
committer | Matthias Bussonnier <mbussonnier@ucmerced.edu> | 2019-07-23 12:15:10 -0700 |
commit | 2bffd407c22f923e2aa8b7931914f222d4eecd69 (patch) | |
tree | 51d44848896f34e65a1d82ff9a043b52eec37406 /doc/source/dev/development_environment.rst | |
parent | f2d116aaabce9df3bef4dca51ce0643a9ec43527 (diff) | |
download | numpy-2bffd407c22f923e2aa8b7931914f222d4eecd69.tar.gz |
Doc: Use `pip install .` where possible instead of calling setup.py
pip will itself call setup.py install with the rights options.
Diffstat (limited to 'doc/source/dev/development_environment.rst')
-rw-r--r-- | doc/source/dev/development_environment.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/dev/development_environment.rst b/doc/source/dev/development_environment.rst index 1d119ebce..7ef2d485c 100644 --- a/doc/source/dev/development_environment.rst +++ b/doc/source/dev/development_environment.rst @@ -91,12 +91,12 @@ It's possible to do a parallel build with ``numpy.distutils`` with the ``-j`` op see :ref:`parallel-builds` for more details. In order to install the development version of NumPy in ``site-packages``, use -``python setup.py install --user``. +``pip install . --user``. A similar approach to in-place builds and use of ``PYTHONPATH`` but outside the source tree is to use:: - $ python setup.py install --prefix /some/owned/folder + $ pip install . --prefix /some/owned/folder $ export PYTHONPATH=/some/owned/folder/lib/python3.4/site-packages |