File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ parallel = true
21
21
show_missing = true
22
22
23
23
[metadata]
24
+ # This seems to be used only by bdist_wheel.
25
+ # You need "pip3 install wheel".
26
+ # Then run "python3 setup.py bdist_wheel" to build a wheel file
27
+ # (and then upload that to PyPI).
24
28
requires-dist =
25
29
typed-ast >= 0.6.1; sys_platform != 'win32'
26
30
typing >= 3.5.2; python_version < "3.5"
Original file line number Diff line number Diff line change 9
9
sys .stderr .write ("ERROR: You need Python 3.2 or later to use mypy.\n " )
10
10
exit (1 )
11
11
12
+ # This requires setuptools when building; setuptools is not needed
13
+ # when installing from a wheel file (though it is still neeeded for
14
+ # alternative forms of installing, as suggested by README.md).
12
15
from setuptools import setup
13
16
from setuptools .command .build_py import build_py
14
17
from mypy .version import base_version
@@ -92,6 +95,10 @@ def run(self):
92
95
if os .name == 'nt' :
93
96
scripts .append ('scripts/mypy.bat' )
94
97
98
+ # These requirements are used when installing by other means than bdist_wheel.
99
+ # E.g. "pip3 install ." or
100
+ # "pip3 install git+git://github.com/python/mypy.git"
101
+ # (as suggested by README.md).
95
102
install_requires = []
96
103
if sys .platform != 'win32' :
97
104
install_requires .append ('typed-ast >= 0.6.1' )
You can’t perform that action at this time.
0 commit comments