Commits

spikeekips  committed cbde91f

setup.py
- support `gamepresso` distutils.

  • Participants
  • Parent commits 8e3011e

Comments (0)

Files changed (2)

+README
+S3.py
+setup.py
+storages/__init__.py
+storages/backends/__init__.py
+storages/backends/couchdb.py
+storages/backends/database.py
+storages/backends/ftp.py
+storages/backends/hashpath.py
+storages/backends/image.py
+storages/backends/mogile.py
+storages/backends/mongodb.py
+storages/backends/mosso.py
+storages/backends/overwrite.py
+storages/backends/s3.py
+storages/backends/s3boto.py
+storages/backends/sftpstorage.py
+storages/backends/symlinkorcopy.py
-from setuptools import setup
-import storages
- 
+# -*- coding: utf-8 -*-
+
+try :
+    from gamepresso.common._distutils import setup
+except ImportError :
+    from setuptools import setup
+
+from storages import __version__
+
+
 setup(
-    name = 'django-storages',
-    version = storages.__version__,
-    packages = (
+    name="django-storages",
+    version=__version__,
+    install_requires=(
+        "django>=1.3",
+    ),
+    packages=(
         "django_storage",
         "django_storage.backends",
     ),
     package_dir={
         "django_storage": "storages",
     },
-    
-    author = 'David Larlet',
-    author_email = 'david@larlet.fr',
-    license = 'BSD',
-    description = 'Support for many storages (S3, MogileFS, etc) in Django.',
-    url='http://code.welldev.org/django-storages/',
-    download_url = "http://bitbucket.org/david/django-storages/get/tip.tar.gz",
-    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',
+
+    license="BSD",
+    description="Support for many storages (S3, MogileFS, etc) in Django.",
+    url="https://bitbucket.org/spikeekips/django-storages",
+    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",
     ],
-    py_modules = ['S3'],
-    zip_safe = False,
+    py_modules=("S3", ),
 )
+
+