Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 39 lines (34 sloc) 1.2 KB
#!/usr/bin/env python
# pylint: disable=missing-docstring,invalid-name
import sys
from setuptools import setup, find_packages
with open('README.rst') as file:
long_description = file.read()
config = {
'name' : 'django-s3-cache',
'version' : '1.4.2',
'packages' : find_packages(),
'author' : 'Alexander Todorov',
'author_email' : 'atodorov@MrSenko.com',
'license' : 'BSD',
'description' : 'Amazon Simple Storage Service (S3) cache backend for Django',
'long_description' : long_description,
'url' : 'https://github.com/atodorov/django-s3-cache',
'keywords' : ['Amazon', 'S3', 'Django', 'cache'],
'classifiers' : [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
'zip_safe' : False,
'install_requires' : ['boto', 'django-storages>=1.1.8', 'Django'],
}
if (len(sys.argv) >= 2) and (sys.argv[1] == '--requires'):
for req in config['install_requires']:
print(req)
else:
setup(**config)