-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
executable file
·40 lines (35 loc) · 1.23 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python
# pylint: disable=missing-docstring,invalid-name
from __future__ import print_function
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.3',
'packages' : find_packages(),
'author' : 'Alexander Todorov',
'author_email' : 'atodorov@MrSenko.com',
'license' : 'MIT',
'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 :: MIT 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)