Commits

David Larlet  committed c8c088b

Add a setup.py file, thanks Ariel Nunez

  • Participants
  • Parent commits 58069e6

Comments (0)

Files changed (2)

     * Rafal Jonca (FTP)
     * Chris McCormick (S3 with Boto)
     * Ivanov E. (Database)
+    * Ariel Núñez (packaging)
 
 Extra thanks to Marty for adding this in Django, 
 you can buy his very interesting book (Pro Django).
+from setuptools import setup, find_packages
+ 
+setup(
+    name='django-storages',
+    version='1.0',
+    description='Support for many storages (S3, MogileFS, etc) in Django.',
+    author='David Larlet',
+    author_email='david@larlet.fr',
+    url='http://code.welldev.org/django-storages/',
+    packages=find_packages(),
+    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',
+    ],
+    # 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_hg before running setup.py so
+    # it can find the data files under Hg version control.
+    setup_requires=['setuptools_hg'],
+)