From cff6b14b273244dff7a9764391087a5c68b9324a Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 4 Nov 2019 06:36:10 -0800 Subject: [PATCH] Removed unnecessary EXCLUDE_FROM_PACKAGES from setup.py. Unnecessary since abc0777b63057e2ff97eee2ff184356051e14c47 where the extension was changed to not be ".py". Also, django.bin doesn't have a __init__.py file, so it is not a package and therefore it's not excluded by this argument. --- setup.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 9e0611e609..2561fd4a7a 100644 --- a/setup.py +++ b/setup.py @@ -52,11 +52,6 @@ if "install" in sys.argv: break -EXCLUDE_FROM_PACKAGES = ['django.conf.project_template', - 'django.conf.app_template', - 'django.bin'] - - # Dynamically calculate the version based on django.VERSION. version = __import__('django').get_version() @@ -77,7 +72,7 @@ setup( 'rapid development and clean, pragmatic design.'), long_description=read('README.rst'), license='BSD', - packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES), + packages=find_packages(), include_package_data=True, scripts=['django/bin/django-admin.py'], entry_points={'console_scripts': [