forked from anthonyharrison/lib4sbom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (45 loc) · 1.7 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
# Copyright (C) 2023 Anthony Harrison
# SPDX-License-Identifier: Apache-2.0
from setuptools import find_packages, setup
from lib4sbom.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='lib4sbom',
version=VERSION,
description='Software Bill of Material (SBOM) generator and consumer library',
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/anthonyharrison/lib4sbom",
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", "library"],
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(),
package_data={
"lib4sbom": [
"license_data/*.*",
],
},
)
setup(**setup_kwargs)