forked from adamalton/django-csp-reports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (43 loc) · 1.58 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
#!/usr/bin/env python
from setuptools import find_packages, setup
VERSION = "1.6"
PACKAGES = find_packages()
REQUIREMENTS = ['django >=1.11,<4.0']
TEST_REQUIREMENTS = ['coverage']
EXTRAS_REQUIRE = {
'quality': ['isort', 'flake8'],
'test': TEST_REQUIREMENTS,
}
CLASSIFIERS = ['License :: OSI Approved :: MIT License',
'Framework :: Django',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8']
DESCRIPTION = (
"A Django app for handling reports from web browsers of violations of your website's "
"HTTP Content Security Policy."
)
setup(
name='django-csp-reports',
version='%s' % VERSION,
description=DESCRIPTION,
long_description=DESCRIPTION,
author='Adam Alton',
author_email='adamalton@gmail.com',
url='https://github.com/adamalton/django-csp-reports',
download_url='https://github.com/adamalton/django-csp-reports/tarball/%s' % VERSION,
packages=PACKAGES,
include_package_data=True,
python_requires='>=3.4',
install_requires=REQUIREMENTS,
tests_require=TEST_REQUIREMENTS,
extras_require=EXTRAS_REQUIRE,
test_suite='runtests.runtests',
keywords=['django', 'csp', 'content security policy'],
classifiers=CLASSIFIERS,
)