1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Switched setup.py to setuptools.

This commit is contained in:
Florian Apolloner
2013-10-25 14:05:02 -04:00
parent d8d83777eb
commit 929ceadda1
2 changed files with 7 additions and 3 deletions

View File

@@ -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("""