@@ -16,22 +16,21 @@ def read(rel_path):
16
16
def get_version (rel_path ):
17
17
# type: (str) -> str
18
18
for line in read (rel_path ).splitlines ():
19
- if line .startswith (' __version__' ):
19
+ if line .startswith (" __version__" ):
20
20
# __version__ = "0.9"
21
21
delim = '"' if '"' in line else "'"
22
22
return line .split (delim )[1 ]
23
23
raise RuntimeError ("Unable to find version string." )
24
24
25
25
26
- long_description = read (' README.rst' )
26
+ long_description = read (" README.rst" )
27
27
28
28
setup (
29
29
name = "pip" ,
30
30
version = get_version ("src/pip/__init__.py" ),
31
31
description = "The PyPA recommended tool for installing Python packages." ,
32
32
long_description = long_description ,
33
-
34
- license = 'MIT' ,
33
+ license = "MIT" ,
35
34
classifiers = [
36
35
"Development Status :: 5 - Production/Stable" ,
37
36
"Intended Audience :: Developers" ,
@@ -47,17 +46,14 @@ def get_version(rel_path):
47
46
"Programming Language :: Python :: Implementation :: CPython" ,
48
47
"Programming Language :: Python :: Implementation :: PyPy" ,
49
48
],
50
- url = 'https://pip.pypa.io/' ,
51
- keywords = 'distutils easy_install egg setuptools wheel virtualenv' ,
49
+ url = "https://pip.pypa.io/" ,
52
50
project_urls = {
53
51
"Documentation" : "https://pip.pypa.io" ,
54
52
"Source" : "https://github.com/pypa/pip" ,
55
53
"Changelog" : "https://pip.pypa.io/en/stable/news/" ,
56
54
},
57
-
58
- author = 'The pip developers' ,
59
-
60
-
55
+ author = "The pip developers" ,
56
+
61
57
package_dir = {"" : "src" },
62
58
packages = find_packages (
63
59
where = "src" ,
@@ -75,12 +71,9 @@ def get_version(rel_path):
75
71
"console_scripts" : [
76
72
"pip=pip._internal.cli.main:main" ,
77
73
"pip{}=pip._internal.cli.main:main" .format (sys .version_info [0 ]),
78
- "pip{}.{}=pip._internal.cli.main:main" .format (
79
- * sys .version_info [:2 ]
80
- ),
74
+ "pip{}.{}=pip._internal.cli.main:main" .format (* sys .version_info [:2 ]),
81
75
],
82
76
},
83
-
84
77
zip_safe = False ,
85
- python_requires = ' >=3.6' ,
78
+ python_requires = " >=3.6" ,
86
79
)
0 commit comments