Skip to content

Commit

Permalink
Add an extra for mypyc dependencies (#16229)
Browse files Browse the repository at this point in the history
Fixes #15579
  • Loading branch information
hauntsaninja committed Oct 8, 2023
1 parent 3c7bdb2 commit ff7ac75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mypyc/doc/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ Installation
------------

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

.. code-block::
$ python3 -m pip install -U mypy
$ python3 -m pip install -U 'mypy[mypyc]'
On some systems you need to use this instead:

.. code-block::
$ python -m pip install -U mypy
$ python -m pip install -U 'mypy[mypyc]'
Example program
---------------
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def run(self):
# Same here.
extras_require={
"dmypy": "psutil >= 4.0",
"mypyc": "setuptools >= 50",
"python2": "",
"reports": "lxml",
"install-types": "pip",
Expand Down

0 comments on commit ff7ac75

Please sign in to comment.