You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* modernize setuptools configuration slightly
* Add a pyproject.toml, which specifies the build-time dependency on
babel. This is required for `pip install` to work in some cases
* Don't use deprecated direct setup.py invocations in Dockerfile
* Fix option names in setup.cfg (I'm not even sure why the old ones used
to work...)
* Replace the build_py override hack in setup.py with a slightly nicer
hack (arguably still a hack, but at least it doesn't require calling
private methods manually)
* Update some setup() metadata fields in setup.py (classifiers had
outdated python version; download_url doesn't seem to be used for
anything at all and the link is outdated anyways; use license
expression instead of plain name)
* docs: replace references to `setup.py install` with `pip install`
Copy file name to clipboardExpand all lines: docs/Installation.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,8 +166,8 @@ version. So, you can install python dependencies by issuing:
166
166
167
167
.. sourcecode:: bash
168
168
169
-
pip3 install -r requirements.txt
170
-
python3 setup.py install
169
+
pip install -r requirements.txt
170
+
pip install .
171
171
172
172
.. note::
173
173
@@ -199,14 +199,14 @@ Assuming you have ``pip`` installed, you can do this:
199
199
.. sourcecode:: bash
200
200
201
201
sudo pip3 install -r requirements.txt
202
-
sudo python3 setup.py install
202
+
sudo pip3 install .
203
203
204
204
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:
205
205
206
206
.. sourcecode:: bash
207
207
208
208
pip3 install --user -r requirements.txt
209
-
python3 setup.py install --user
209
+
pip3 install --user .
210
210
211
211
Method 4: Using your distribution's system packages
0 commit comments