mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Switched setup.py to setuptools.
This commit is contained in:
parent
d8d83777eb
commit
929ceadda1
2 changed files with 7 additions and 3 deletions
8
setup.py
8
setup.py
|
@ -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("""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue