From 857e0fc00e0b70104238fbbd6f8f5e2639f68d80 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 25 Apr 2020 18:05:02 +0200 Subject: [PATCH] Include Django stubs license in Jedi package --- MANIFEST.in | 1 + setup.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index 94869628..3b76f251 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 * diff --git a/setup.py b/setup.py index 54418153..da96c6b9 100755 --- a/setup.py +++ b/setup.py @@ -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,