@@ -98,10 +98,10 @@ package
98
98
Python-specific package manager
99
99
A tool for installing, upgrading, and/or removing Python packages
100
100
in a manner that conforms to Python packaging standards (such as
101
- PEP 376 [ #PEP-376 ]_ and PEP 427 [ #PEP-427 ]_ ). The most popular
102
- Python-specific package manager is pip [#pip ]_; other examples
103
- include the old Easy Install command [#easy-install ]_ as well as
104
- direct usage of a ``setup.py `` command.
101
+ PEP 376 and PEP 427). The most popular Python-specific package
102
+ manager is pip [#pip ]_; other examples include the old Easy
103
+ Install command [#easy-install ]_ as well as direct usage of a
104
+ ``setup.py `` command.
105
105
106
106
(Conda [#conda ]_ is a bit of a special case, as the ``conda ``
107
107
command can install much more than just Python packages, making it
@@ -114,12 +114,12 @@ distro package manager
114
114
packages in an installed instance of that distro, which is capable
115
115
of installing Python packages as well as non-Python packages, and
116
116
therefore generally has its own database of installed software
117
- unrelated to PEP 376 [#PEP-376] . Examples include ``apt ``,
118
- ``dpkg ``, `` dnf ``, `` rpm ``, ``pacman ``, and ``brew ``. The salient
119
- feature is that if a package was installed by a distro package
120
- manager, removing or upgrading it in a way that would satisfy a
121
- Python-specific package manager will generally leave a distro
122
- package manager in an inconsistent state.
117
+ unrelated to PEP 376. Examples include ``apt ``, `` dpkg ``, `` dnf ``,
118
+ ``rpm ``, ``pacman ``, and ``brew ``. The salient feature is that if
119
+ a package was installed by a distro package manager, removing or
120
+ upgrading it in a way that would satisfy a Python-specific package
121
+ manager will generally leave a distro package manager in an
122
+ inconsistent state.
123
123
124
124
This document also uses phrases like "external package manager" or
125
125
"system's package manager" to refer to a distro package manager in
@@ -886,7 +886,7 @@ non-virtual-environment installs in any Python installation, but that
886
886
is outside the scope of this PEP.)
887
887
888
888
Should the file be TOML? TOML is gaining popularity for packaging (see
889
- e.g. PEP- 517) but does not yet have an implementation in the standard
889
+ e.g. PEP 517) but does not yet have an implementation in the standard
890
890
library. Strictly speaking, this isn't a blocker - distros need only
891
891
write the file, not read it, so they don't need a TOML library (the
892
892
file will probably be written by hand, regardless of format), and
@@ -1078,12 +1078,6 @@ discussion thread `Playing nice with external package managers`_.
1078
1078
1079
1079
.. _`Playing nice with external package managers` : https://discuss.python.org/t/playing-nice-with-external-package-managers/1968
1080
1080
1081
- .. [#PEP-376 ] PEP 376, Database of Installed Python Distributions, Ziadé
1082
- (http://www.python.org/dev/peps/pep-0376)
1083
-
1084
- .. [#PEP-427 ] PEP 427, The Wheel Binary Package Format 1.0, Holth
1085
- (http://www.python.org/dev/peps/pep-0427)
1086
-
1087
1081
.. [#pip ] https://pip.pypa.io/en/stable/
1088
1082
1089
1083
.. [#easy-install ] https://setuptools.readthedocs.io/en/latest/deprecated/easy_install.html
0 commit comments