Skip to content

Commit

Permalink
Update Installation.rst
Browse files Browse the repository at this point in the history
Remove the SETUPTOOLS_USE_DISTUTILS env variable usage
  • Loading branch information
wil93 authored Dec 30, 2024
1 parent 5c809ec commit a897854
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 a897854

Please sign in to comment.