Include Django stubs license in Jedi package

This commit is contained in:
Dave Halter
2020-04-25 18:05:02 +02:00
parent bf8b58aeeb
commit 857e0fc00e
2 changed files with 3 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ include requirements.txt
include jedi/parser/python/grammar*.txt
recursive-include jedi/third_party *.pyi
include jedi/third_party/typeshed/LICENSE
include jedi/third_party/django-stubs/LICENSE.txt
include jedi/third_party/typeshed/README
recursive-include test *
recursive-include docs *

View File

@@ -19,6 +19,8 @@ with open('requirements.txt') as f:
assert os.path.isfile("jedi/third_party/typeshed/LICENSE"), \
"Please download the typeshed submodule first (Hint: git submodule update --init)"
assert os.path.isfile("jedi/third_party/django-stubs/LICENSE.txt"), \
"Please download the django-stubs submodule first (Hint: git submodule update --init)"
setup(name='jedi',
version=version,