forked from monzo/response
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (53 loc) · 1.79 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
import os
from os import path
from setuptools import find_packages, setup
VERSION = "0.5.1"
INSTALL_REQUIRES = [
"Django>=2.2.9,<3",
"bleach==3.1.4",
"bleach-whitelist>=0.0.10",
"cryptography>=2.7",
"django-after-response>=0.2.2",
"django-bootstrap4>=0.0.7",
"djangorestframework>=3.9.2",
"emoji-data-python==1.1.0",
"jsonfield>=2.0.2",
"markdown2>=2.3.7",
"python-slugify>=1.2.6",
"slackclient>=1.3,<2",
# "statuspageio>=0.0.1",
]
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
# load README.md
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="django-incident-response",
version=VERSION,
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude="demo"),
install_requires=INSTALL_REQUIRES,
package_dir={"response": "response"},
python_requires=">3.6",
include_package_data=True,
license="MIT License", # example license
description="A real-time incident response and reporting tool",
url="https://github.com/monzo/response",
author="Chris Evans",
classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
)