File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change
1
+ Remove the incorrect pip3.x console entrypoint from the pip wheel. This console
2
+ script continue to be generated by pip when it installs itself.
Original file line number Diff line number Diff line change 1
1
[project ]
2
- dynamic = [" version" , " scripts " ]
2
+ dynamic = [" version" ]
3
3
4
4
name = " pip"
5
5
description = " The PyPA recommended tool for installing Python packages."
@@ -29,6 +29,10 @@ authors = [
29
29
# When changing this value, please change the other copy as well.
30
30
requires-python = " >=3.8"
31
31
32
+ [project .scripts ]
33
+ pip = " pip._internal.cli.main:main"
34
+ pip3 = " pip._internal.cli.main:main"
35
+
32
36
[project .urls ]
33
37
Homepage = " https://pip.pypa.io/"
34
38
Documentation = " https://pip.pypa.io"
Original file line number Diff line number Diff line change 1
- import sys
2
-
3
1
from setuptools import setup
4
2
5
- setup (
6
- entry_points = {
7
- "console_scripts" : [
8
- "pip=pip._internal.cli.main:main" ,
9
- f"pip{ sys .version_info [0 ]} =pip._internal.cli.main:main" ,
10
- "pip{}.{}=pip._internal.cli.main:main" .format (* sys .version_info [:2 ]),
11
- ],
12
- },
13
- )
3
+ setup ()
You can’t perform that action at this time.
0 commit comments