diff options
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ import os import sys -from distutils.core import setup +from setuptools import setup from distutils.sysconfig import get_python_lib # Warn if we are installing over top of an existing installation. This can @@ -91,7 +91,10 @@ setup( license='BSD', packages=packages, package_data=package_data, - scripts=['django/bin/django-admin.py'], + entry_points={'console_scripts': [ + 'django-admin = django.core.management:execute_from_command_line', + ]}, + zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', @@ -113,6 +116,7 @@ setup( ], ) + if overlay_warning: sys.stderr.write(""" |
