Parcourir la source

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.
Florian Apolloner il y a 11 ans
Parent
commit
088cb711fe
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      setup.py

+ 2 - 1
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=[