Skip to content

Commit

Permalink
Update Installation.rst (#1312)
Browse files Browse the repository at this point in the history
Remove the SETUPTOOLS_USE_DISTUTILS env variable usage
  • Loading branch information
wil93 committed Dec 30, 2024
1 parent c87fea7 commit 686a2f3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/Installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 686a2f3

Please sign in to comment.