-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
50 lines (45 loc) · 1.72 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
# Copyright (C) 2023 Anthony Harrison
# SPDX-License-Identifier: Apache-2.0
from setuptools import find_packages, setup
from distro2sbom.version import VERSION
with open("README.md", encoding="utf-8") as f:
readme = f.read()
with open("requirements.txt", encoding="utf-8") as f:
requirements = f.read().split("\n")
setup_kwargs = dict(
name='distro2sbom',
version=VERSION,
description='SBOM generator for system distribution',
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/anthonyharrison/distro2sbom",
author='Anthony Harrison',
author_email='[email protected]',
maintainer='Anthony Harrison',
maintainer_email='[email protected]',
license='Apache-2.0',
keywords=["security", "tools", "SBOM", "DevSecOps", "SPDX", "CycloneDX", "Distributions"],
install_requires=requirements,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
python_requires=">=3.7",
packages=find_packages(),
entry_points={
"console_scripts": [
"distro2sbom = distro2sbom.cli:main",
],
},
)
setup(**setup_kwargs)