Commits

spikeekips committed 7f5c4e8

setup.py
- add the test for `setup.py test`.
- support `gamepresso` distutils.

  • Participants
  • Parent commits 537ae0f

Comments (0)

Files changed (3)

 ^build/
 ^dist/
 ^docs/_build/
-^MANIFEST$
+^MANIFEST$
+.*.sw*
+django_auth_ldap/__init__.py
+django_auth_ldap/backend.py
+django_auth_ldap/config.py
+django_auth_ldap/dn.py
+django_auth_ldap/models.py
+django_auth_ldap/tests.py
+docs/Makefile
+setup.py
+docs/index.rst
+docs/conf.py
+MANIFEST.in
 #!/usr/bin/env python
 
-from distutils.core import setup
+try :
+    from gamepresso.common._distutils import setup
+except ImportError :
+    from setuptools import setup
 
 setup(
     name="django-auth-ldap",
     version="1.0.10",
     description="Django LDAP authentication backend",
     long_description="""This is a Django authentication backend that authenticates against an LDAP service. Configuration can be as simple as a single distinguished name template, but there are many rich configuration options for working with users, groups, and permissions.
-    
+
 This package requires at least Python 2.3, Django 1.0, and python-ldap 2.0. Documentation can be found at http://packages.python.org/django-auth-ldap/.
     """,
     url="http://bitbucket.org/psagers/django-auth-ldap/",
         "Topic :: Software Development :: Libraries :: Python Modules",
     ],
     keywords=["django", "ldap", "authentication", "auth"],
+    test_suite="tests.run",
 )
+
+