Skip to content

Commit ff7ac75

Browse files
authored
Add an extra for mypyc dependencies (#16229)
Fixes #15579
1 parent 3c7bdb2 commit ff7ac75

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

mypyc/doc/getting_started.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ Installation
3838
------------
3939

4040
Mypyc is shipped as part of the mypy distribution. Install mypy like
41-
this (you need Python 3.5 or later):
41+
this (you need Python 3.8 or later):
4242

4343
.. code-block::
4444
45-
$ python3 -m pip install -U mypy
45+
$ python3 -m pip install -U 'mypy[mypyc]'
4646
4747
On some systems you need to use this instead:
4848

4949
.. code-block::
5050
51-
$ python -m pip install -U mypy
51+
$ python -m pip install -U 'mypy[mypyc]'
5252
5353
Example program
5454
---------------

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ def run(self):
227227
# Same here.
228228
extras_require={
229229
"dmypy": "psutil >= 4.0",
230+
"mypyc": "setuptools >= 50",
230231
"python2": "",
231232
"reports": "lxml",
232233
"install-types": "pip",

0 commit comments

Comments
 (0)