1
0
mirror of https://github.com/django/django.git synced 2025-01-22 00:02:15 +00:00

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.
This commit is contained in:
Jon Dufresne 2019-11-04 06:36:10 -08:00 committed by Mariusz Felisiak
parent 09a00c60bd
commit cff6b14b27

View File

@ -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': [