Ver código fonte

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 11 anos atrás
pai
commit
088cb711fe
1 arquivos alterados com 2 adições e 1 exclusões
  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=[