-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
54 lines (46 loc) · 1.6 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
from setuptools import setup, find_packages
from re import search
with open("faraday_cli/__init__.py", "rt", encoding="utf8") as f:
version = search(r"__version__ = \"(.*?)\"", f.read()).group(1)
with open("requirements.txt") as fp:
required = fp.read().splitlines()
extra_req = {
"dev": ["giteasychangelog", "flake8", "black", "pre-commit"],
"test": ["pytest", "pytest-cov", "faradaysec"],
"docs": [
"mkdocs",
"mkdocs-material",
],
}
with open("README.md") as readme_file:
readme = readme_file.read()
with open("RELEASE.md") as history_file:
history = history_file.read()
setup(
name="faraday-cli",
version=version,
packages=find_packages(include=["faraday_cli", "faraday_cli.*"]),
url="https://github.com/infobyte/faraday-cli",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
license="GNU General Public License v3",
author="Faradaysec",
python_requires=">3.7.0",
author_email="devel@faradaysec.com",
long_description=readme + "\n\n" + history,
long_description_content_type="text/markdown",
description="Faraday cli package",
include_package_data=True,
install_requires=required,
extras_require=extra_req,
entry_points={
"console_scripts": ["faraday-cli=faraday_cli.shell.main:main"],
},
)