-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (53 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
55
56
57
58
59
60
61
62
import setuptools
NAME = "django-pds"
DESCRIPTION = "Django Platform Data Service"
URL = "https://github.com/knroy/django-pds"
EMAIL = "rax.komol@gmail.com "
AUTHOR = "Komol Nath Roy"
REQUIRES_PYTHON = ">=3.6.0"
VERSION = "0.0.6"
# What packages are required for this module to be executed?
REQUIRED = [
"django>=3.0.6",
"djangorestframework>=3.11.0",
"django-rest-framework-mongoengine>=3.4.1",
"mongoengine>=0.20.0",
"python-dateutil>=2.8.1",
"psycopg2-binary>=2.8.5",
"django-cors-headers>=3.2.1",
"PyJWT>=1.7.1"
]
# What packages are optional?
EXTRAS = {
}
# Import the README and use it as the long-description.
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
try:
with open("README.md", "r") as fh:
long_description = fh.read()
except FileNotFoundError:
long_description = DESCRIPTION
setuptools.setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
url=URL,
packages=setuptools.find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*", "screenshots"]),
install_requires=REQUIRED,
include_package_data=True,
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
],
python_requires=REQUIRES_PYTHON
)