From 088cb711fe8c8bfb6af04ac7ef094817802c4256 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Tue, 21 Jan 2014 17:40:52 +0100 Subject: [PATCH] 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. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e65155d4b0..67482f8496 100644 --- a/setup.py +++ b/setup.py @@ -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=[