Fixed #21827 -- Install django-admin and django-admin.py

We need to figure out how to deprecate django-admin.py, but for now this
should do the trick.
This commit is contained in:
Florian Apolloner 2014-01-21 17:40:52 +01:00
parent 8606785faa
commit 088cb711fe
1 changed files with 2 additions and 1 deletions

View File

@ -43,8 +43,9 @@ setup(
license='BSD',
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
include_package_data=True,
scripts=['django/bin/django-admin.py'],
entry_points={'console_scripts': [
'django-admin.py = django.core.management:execute_from_command_line',
'django-admin = django.core.management:execute_from_command_line',
]},
zip_safe=False,
classifiers=[