From 686a2f3fc35448df907501dec2b5a919e1043832 Mon Sep 17 00:00:00 2001 From: William Di Luigi Date: Mon, 30 Dec 2024 16:04:25 +0100 Subject: [PATCH] Update Installation.rst (#1312) Remove the SETUPTOOLS_USE_DISTUTILS env variable usage --- docs/Installation.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/Installation.rst b/docs/Installation.rst index f57c07d540..5a3cb5f6e7 100644 --- a/docs/Installation.rst +++ b/docs/Installation.rst @@ -166,7 +166,6 @@ version. So, you can install python dependencies by issuing: .. sourcecode:: bash - export SETUPTOOLS_USE_DISTUTILS="stdlib" pip3 install -r requirements.txt python3 setup.py install @@ -199,15 +198,13 @@ Assuming you have ``pip`` installed, you can do this: .. sourcecode:: bash - export SETUPTOOLS_USE_DISTUTILS="stdlib" - sudo --preserve-env=SETUPTOOLS_USE_DISTUTILS pip3 install -r requirements.txt - sudo --preserve-env=SETUPTOOLS_USE_DISTUTILS python3 setup.py install + sudo pip3 install -r requirements.txt + sudo python3 setup.py install This command installs python dependencies globally. Note that on some distros, like Arch Linux, this might interfere with the system package manager. If you want to perform the installation in your home folder instead, then you can do this instead: .. sourcecode:: bash - export SETUPTOOLS_USE_DISTUTILS="stdlib" pip3 install --user -r requirements.txt python3 setup.py install --user