From 84837c1680cc76f8518028d1cfdf073136a28f0c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 30 Sep 2019 14:56:44 +0200 Subject: [PATCH] Use include_package_data in setup.py --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index abe3fb509..c5ce79c93 100755 --- a/setup.py +++ b/setup.py @@ -27,9 +27,6 @@ def is_new_osx(): return False -PACKAGE_DATA = {"": ["*.pyx", "*.pxd", "*.txt", "*.tokens", "*.json", "*.json.gz"]} - - PACKAGES = find_packages() @@ -232,7 +229,7 @@ def setup_package(): name="spacy", zip_safe=False, packages=PACKAGES, - package_data=PACKAGE_DATA, + include_package_data=True, description=about["__summary__"], long_description=readme, long_description_content_type="text/markdown",