Skip to content

Commit

Permalink
Fix pip install for new typeshed (#9976)
Browse files Browse the repository at this point in the history
This is a follow up for #9973

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
  • Loading branch information
ilevkivskyi and Ivan Levkivskyi authored Jan 26, 2021
1 parent 0e7b867 commit 90feccd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# stubs
prune mypy/typeshed
include mypy/typeshed/stdlib/VERSIONS
recursive-include mypy/typeshed *.pyi

# mypy and mypyc
Expand Down
1 change: 1 addition & 0 deletions mypy-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ mypy_extensions>=0.4.3,<0.5.0
typed_ast>=1.4.0,<1.5.0
types-typing-extensions>=3.7.0
types-mypy-extensions>=0.4.0
toml
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def run(self):
package_data = ['py.typed']

package_data += find_package_data(os.path.join('mypy', 'typeshed'), ['*.py', '*.pyi'])
package_data += [os.path.join('mypy', 'typeshed', 'stdlib', 'VERSIONS')]

package_data += find_package_data(os.path.join('mypy', 'xml'), ['*.xsd', '*.xslt', '*.css'])

Expand Down Expand Up @@ -195,6 +196,7 @@ def run(self):
'mypy_extensions >= 0.4.3, < 0.5.0',
'types-typing-extensions>=3.7.0',
'types-mypy-extensions>=0.4.0',
'toml',
],
# Same here.
extras_require={'dmypy': 'psutil >= 4.0'},
Expand Down

0 comments on commit 90feccd

Please sign in to comment.