1. spikeekips
  2. django-oauth-plus

Commits

spikeekips  committed 3070335

setup.py
- support `gamepresso` distutils.

  • Participants
  • Parent commits 443b579
  • Branches default

Comments (0)

Files changed (3)

File .hgignore

View file
 testdb.sqlite
 dist/*
 django_oauth.egg-info/*
-setuptools_hg-0.1-py2.5.egg
+setuptools_hg-*.egg

File SOURCES.txt

View file
+oauth_provider/__init__.py
+oauth_provider/admin.py
+oauth_provider/consts.py
+oauth_provider/decorators.py
+oauth_provider/forms.py
+oauth_provider/managers.py
+oauth_provider/models.py
+oauth_provider/tests.py
+oauth_provider/urls.py
+oauth_provider/utils.py
+oauth_provider/views.py
+oauth_provider/store/__init__.py
+oauth_provider/store/db.py
+setup.py

File setup.py

View file
-from setuptools import setup
- 
+# -*- coding: utf-8 -*-
+
+try :
+    from gamepresso.common._distutils import setup, find_packages
+except :
+    from setuptools import setup, find_packages
+
 setup(
-    name='django-oauth-plus',
-    version='2.0',
-    description='Support of OAuth 1.0a in Django using python-oauth2.',
-    author='David Larlet',
-    author_email='david@larlet.fr',
-    url='http://code.welldev.org/django-oauth-plus/',
-    packages=("oauth_provider", ),
+    name="django-oauth-plus",
+    version="2.0",
+    description="Support of OAuth 1.0a in Django using python-oauth2.",
+    url="https://bitbucket.org/spikeekips/django-oauth-plus",
+    packages=find_packages(exclude=("examples", "examples.*", ), ),
     classifiers=[
-        'Development Status :: 4 - Beta',
-        'Environment :: Web Environment',
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: BSD License',
-        'Operating System :: OS Independent',
-        'Programming Language :: Python',
-        'Framework :: Django',
+        "Development Status :: 4 - Beta",
+        "Environment :: Web Environment",
+        "Intended Audience :: Developers",
+        "License :: OSI Approved :: BSD License",
+        "Operating System :: OS Independent",
+        "Programming Language :: Python",
+        "Framework :: Django",
     ],
-    # Make setuptools include all data files under version control,
-    # svn and CVS by default
-    include_package_data=True,
-    zip_safe=False,
-    # Tells setuptools to download setuptools_git before running setup.py so
-    # it can find the data files under Hg version control.
-    setup_requires=['setuptools_hg'],
+    setup_requires=("setuptools_hg", ),
 )
+