Kaydet (Commit) 929ceadd authored tarafından Florian Apolloner's avatar Florian Apolloner

Switched setup.py to setuptools.

üst d8d83777
......@@ -4,6 +4,6 @@ sdist:
python setup.py sdist
bdist_wheel:
python -c "import setuptools;__file__='setup.py';exec(compile(open(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))" bdist_wheel
python setup.py bdist_wheel
.PHONY : sdist bdist_wheel
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("""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment