Skip to content

Commit d0a80b8

Browse files
authored
Update Installation.rst (#1312)
Remove the SETUPTOOLS_USE_DISTUTILS env variable usage
1 parent 5c809ec commit d0a80b8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/Installation.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ version. So, you can install python dependencies by issuing:
166166

167167
.. sourcecode:: bash
168168

169-
export SETUPTOOLS_USE_DISTUTILS="stdlib"
170169
pip3 install -r requirements.txt
171170
python3 setup.py install
172171

@@ -199,15 +198,13 @@ Assuming you have ``pip`` installed, you can do this:
199198

200199
.. sourcecode:: bash
201200

202-
export SETUPTOOLS_USE_DISTUTILS="stdlib"
203-
sudo --preserve-env=SETUPTOOLS_USE_DISTUTILS pip3 install -r requirements.txt
204-
sudo --preserve-env=SETUPTOOLS_USE_DISTUTILS python3 setup.py install
201+
sudo pip3 install -r requirements.txt
202+
sudo python3 setup.py install
205203

206204
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:
207205

208206
.. sourcecode:: bash
209207

210-
export SETUPTOOLS_USE_DISTUTILS="stdlib"
211208
pip3 install --user -r requirements.txt
212209
python3 setup.py install --user
213210

0 commit comments

Comments
 (0)