-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
49 lines (44 loc) · 1.43 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
import os
import setuptools
from cvescan.version import get_version
with open("README.md", "r") as fh:
long_description = fh.read()
os.umask(0o022)
setuptools.setup(
name="cvescan",
version=get_version(),
author=(
"Mark Morlino <[email protected]>,"
"Mike Salvatore <[email protected]>"
),
description="A utility determining which CVEs affect an Ubuntu system.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/canonical/sec-cvescan",
packages=setuptools.find_packages(exclude=["tests"]),
license="GPLv3",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Topic :: Security",
],
install_requires=[
"tabulate",
"ust-download-cache",
"vistir[spinner]",
"validators",
],
extras_require={
"apt": [
"python-distutils-extra @ "
"git+https://salsa.debian.org/python-team/modules/"
"python-distutils-extra.git",
"python-apt @ git+https://salsa.debian.org/apt-team/python-apt",
],
},
python_requires=">=3.5",
setup_requires=["pytest-runner"],
tests_require=["pytest", "pytest-cov"],
entry_points={"console_scripts": ["cvescan=cvescan.__main__:main"]},
)