summaryrefslogtreecommitdiff
path: root/src/python/doc/installation.rst
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-04-27 09:17:53 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-04-27 09:17:53 +0200
commit154596a39b2b26c90e46ec851b8f05ea08fa47d4 (patch)
tree7a8f8a59e03b550429377b43f8fca17a6b412499 /src/python/doc/installation.rst
parent009c01c1d10c681fa441dbd4e4e166bbfd6f70e7 (diff)
Remove make install target from python and rewrite documentation accordingly
Diffstat (limited to 'src/python/doc/installation.rst')
-rw-r--r--src/python/doc/installation.rst14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/python/doc/installation.rst b/src/python/doc/installation.rst
index 66efe45a..2881055f 100644
--- a/src/python/doc/installation.rst
+++ b/src/python/doc/installation.rst
@@ -99,20 +99,14 @@ Or install it definitely in your Python packages folder:
.. code-block:: bash
cd /path-to-gudhi/build/python
- # May require sudo or administrator privileges
- make install
+ python setup.py install # add --user to the command if you do not have the permission
+ # Or 'pip install .'
.. note::
- :code:`make install` is only a
- `CMake custom targets <https://cmake.org/cmake/help/latest/command/add_custom_target.html>`_
- to shortcut :code:`python setup.py install` command.
It does not take into account :code:`CMAKE_INSTALL_PREFIX`.
- But one can use :code:`python setup.py install ...` specific options in the python directory:
-
-.. code-block:: bash
-
- python setup.py install --prefix /home/gudhi # Install in /home/gudhi directory
+ But one can use
+ `alternate location installation <https://docs.python.org/3/install/#alternate-installation>`_.
Test suites
===========