forked from torre76/django-googledrive-storage
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
54 lines (48 loc) · 1.7 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import codecs
import setuptools
import sys
long_description = codecs.open('README.rst', "r").read()
# Conditional load of enumeration
# See https://hynek.me/articles/conditional-python-dependencies/
INSTALL_REQUIRES = [
"Django >= 1.7",
"google-api-python-client >= 1.5.1",
"python-dateutil >= 2.5.3",
"requests >= 2.10.0",
"django-appconf >= 1.0.2",
"oauth2client >= 2.2.0",
"six >= 1.10.0"
""
]
EXTRAS_REQUIRE = dict()
if int(setuptools.__version__.split(".", 1)[0]) < 18:
if sys.version_info[0:2] < (3, 4):
INSTALL_REQUIRES.append("enum34 >= 1.1.6")
else:
EXTRAS_REQUIRE[":python_version<'3.4'"] = ["enum34 >= 1.1.6"]
setuptools.setup(
name="django-googledrive-storage",
version="1.3.1",
author="Gian Luca Dalla Torre",
author_email="[email protected]",
description=("Storage implementation for Django that interacts with Google Drive"),
license="LICENSE.txt",
keywords="django google drive storage googledrive",
url="https://github.com/torre76/django-googledrive-storage",
download_url="https://github.com/torre76/django-googledrive-storage/tarball/1.3.1",
packages=setuptools.find_packages(exclude=["django_googledrive_storage", "gdstorage.tests", "docs"]),
long_description=long_description,
package_data={
'': ['README.rst'],
},
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5"
],
)