Permalink
Browse files

Switched setup.py to setuptools.

  • Loading branch information...
1 parent d8d8377 commit 929ceadda129090e260ec693178b992cd02da7bb @apollo13 committed Oct 25, 2013
Showing with 7 additions and 3 deletions.
  1. +1 −1 extras/Makefile
  2. +6 −2 setup.py
View
@@ -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
View
@@ -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 @@ def is_package(package_name):
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 @@ def is_package(package_name):
],
)
+
if overlay_warning:
sys.stderr.write("""

0 comments on commit 929cead

Please sign in to comment.