File tree 2 files changed +29
-0
lines changed
2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,34 @@ More details about this script can be found in [pypa/get-pip]'s README.
45
45
46
46
[ pypa/get-pip ] : https://github.com/pypa/get-pip
47
47
48
+ ### Standalone zip application
49
+
50
+ ``` {note}
51
+ The zip application is currently experimental. We test that pip runs correctly
52
+ in this form, but it is possible that there could be issues in some situations.
53
+ We will accept bug reports in such cases, but for now the zip application should
54
+ not be used in production environments.
55
+ ```
56
+
57
+ In addition to installing pip in your environment, pip is available as a
58
+ standalone [ zip application] ( https://docs.python.org/3.11/library/zipapp.html ) .
59
+ This can be downloaded from < https://bootstrap.pypa.io/pip/pip.pyz > . There are
60
+ also zip applications for specific pip versions, named ` pip-X.Y.Z.pyz ` .
61
+
62
+ The zip application can be run using any supported version of Python:
63
+
64
+ ``` {pip-cli}
65
+ $ python pip.pyz --help
66
+ ```
67
+
68
+ If run directly:
69
+
70
+ ``` {pip-cli}
71
+ $ pip.pyz --help
72
+ ```
73
+
74
+ then the currently active Python interpreter will be used.
75
+
48
76
## Alternative Methods
49
77
50
78
Depending on how you installed Python, there might be other mechanisms
Original file line number Diff line number Diff line change
1
+ Document the new (experimental) zipapp distribution of pip.
You can’t perform that action at this time.
0 commit comments