Add only stubs/README/LICENSE, when packaging typshed

This commit is contained in:
Dave Halter
2019-05-19 17:14:49 +02:00
parent 016e66846b
commit 8cad21819c
2 changed files with 5 additions and 2 deletions

View File

@@ -9,7 +9,9 @@ include pytest.ini
include tox.ini
include requirements.txt
include jedi/parser/python/grammar*.txt
recursive-include jedi/third_party *
recursive-include jedi/third_party *.pyi
recursive-include jedi/third_party/typeshed/LICENSE
recursive-include jedi/third_party/typeshed/README
recursive-include test *
recursive-include docs *
recursive-exclude * *.pyc

View File

@@ -44,7 +44,8 @@ setup(name='jedi',
'colorama',
],
},
package_data={'jedi': ['*.pyi']},
package_data={'jedi': ['*.pyi', 'third_party/typeshed/LICENSE',
'third_party/typeshed/README']},
platforms=['any'],
classifiers=[
'Development Status :: 4 - Beta',