-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
33 lines (27 loc) · 981 Bytes
/
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
"""Setup file.
"""
__copyright__ = "Copyright (C) 2021 Matt Ferreira"
__license__ = "Apache License"
# Read contents of README.md file
from os import path
from setuptools import find_packages, setup
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
README = f.read()
with open("avmp/core/VERSION") as version_file:
version = version_file.read().strip()
assert isinstance(version, str)
install_requirements = ["pyTenable", "requests", "jira", "docopt"]
setup(
name="avmp",
version=version,
description="Command line vulnerability program manager.",
long_description=README,
license="Apache License",
author="Matt Ferreira",
author_email="rackreaver@gmail.com",
download_url="https://github.com/RackReaver/AVMP",
install_requires=install_requirements,
packages=find_packages(),
entry_points={"console_scripts": ["avmp = avmp.core.cli: main"]},
)