-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
66 lines (57 loc) · 2.04 KB
/
setup.py
File metadata and controls
66 lines (57 loc) · 2.04 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env python
"""The setup script."""
from re import search
from setuptools import setup, find_packages
with open("faraday_agent_parameters_types/__init__.py", "rt", encoding="utf8") as f:
version = search(r"__version__ = \"(.*?)\"", f.read()).group(1)
with open("README.md") as readme_file:
readme = readme_file.read()
with open("CHANGELOG.md") as history_file:
history = history_file.read()
requirements = ["marshmallow<4.0.0", "packaging", "validators<=0.20.0"]
setup_requirements = [
"pytest-runner",
]
extra_req = {
"dev": ["giteasychangelog", "flake8", "pre-commit", "black"],
"test": [
"pytest",
"pytest-cov",
],
"docs": [
"mkdocs",
"mkdocs-material",
],
}
setup(
author="Faraday Development Team",
author_email="devel@infobytesec.com",
python_requires=">=3.7",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
description="""The faraday agents run code remotely to ensure your domains. This info is triggered and published
to a faraday server instance, which had set the parameters of the code. This repository sets the models to be used
by both sides.""",
install_requires=requirements,
extras_require=extra_req,
license="GNU General Public License v3",
long_description=readme + "\n\n" + history,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="faraday",
name="faraday_agent_parameters_types",
packages=find_packages(),
setup_requires=setup_requirements,
url="https://github.com/infobyte/faraday_agent_parameters_types",
version=version,
zip_safe=False,
)