-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·47 lines (38 loc) · 1.3 KB
/
setup.py
File metadata and controls
executable file
·47 lines (38 loc) · 1.3 KB
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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Installation script for the pymodsecurity package.
"""
from setuptools import setup
from pymodsecurity import version
setup_parameters = dict(
name=version.__title__,
version=version.__version__,
description=version.__summary__,
author=version.__author__,
author_email=version.__email__,
url=version.__uri__,
license=version.__license__,
classifiers=[
"Development Status :: 2 - Dev",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Security",
"Topic :: Internet :: WWW/HTTP"
],
packages=["pymodsecurity"],
setup_requires=["cffi>=1.8.0"],
install_requires=["cffi>=1.8.0",
"sphinx_rtd_theme"],
cffi_modules=["src/pymodsecurity/build_pymodsecurity.py:ffibuilder"],
package_dir={"pymodsecurity": "src/pymodsecurity"},
ext_package="pymodsecurity",
test_suite="tests",
)
if __name__ == "__main__":
setup(**setup_parameters)