File tree 2 files changed +26
-2
lines changed 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,34 @@ $ python pip.pyz --help
67
67
68
68
If run directly:
69
69
70
- ``` {pip-cli}
71
- $ pip.pyz --help
70
+ ```` {tab} Linux
71
+ ```console
72
+ $ chmod +x ./pip.pyz
73
+ $ ./pip.pyz
74
+ ```
75
+
76
+ then the currently active Python interpreter will be used.
77
+ ````
78
+
79
+ ```` {tab} MacOS
80
+ ```console
81
+ $ chmod +x ./pip.pyz
82
+ $ ./pip.pyz
72
83
```
73
84
74
85
then the currently active Python interpreter will be used.
86
+ ````
87
+
88
+ ```` {tab} Windows
89
+ ```doscon
90
+ C:> .\pip.pyz
91
+ ```
92
+
93
+ then the currently active Python interpreter will be used.
94
+
95
+ You may need to configure your system to recognise the ``.pyz`` extension
96
+ before this will work.
97
+ ````
75
98
76
99
## Alternative Methods
77
100
Original file line number Diff line number Diff line change
1
+ Fix the direct usage of zipapp showing up as ``python -m pip.pyz `` rather than ``./pip.pyz `` / ``.\pip.pyz ``
You can’t perform that action at this time.
0 commit comments