Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the SETUPTOOLS_USE_DISTUTILS env variable usage in documentation #1312

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading