-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (57 loc) · 1.75 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
import os
import setuptools
def readme():
path = os.path.dirname(__file__)
with open(os.path.join(path, 'README.rst')) as f:
return f.read()
name = 'flask-csp'
description = 'A Flask extension/decorator to easily add Content-Security-Policy (CSP) headers'
version = '1.0.2'
author = 'Fictive Kin LLC'
email = '[email protected]'
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Python Modules'
]
if __name__ == "__main__":
setuptools.setup(
name=name,
version=version,
description=description,
long_description=readme(),
classifiers=classifiers,
url='https://github.com/fictivekin/flask-csp',
author=author,
author_email=email,
maintainer=author,
maintainer_email=email,
license='MIT',
python_requires=">=3.6",
packages=setuptools.find_packages(),
install_requires=[
'Flask',
],
extras_requires={
'tests': [
'pytest',
'pytest-lazy-fixture',
'pytest-cov',
'pytest-randomly',
],
'lint': [
'pylint',
],
},
)