-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
52 lines (46 loc) · 1.74 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
from setuptools import find_packages, setup
# Copyright (C) 2023 Anthony Harrison
# SPDX-License-Identifier: Apache-2.0
from sbom4python.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='sbom4python',
version=VERSION,
description='SBOM generator for Python modules',
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/anthonyharrison/sbom4python",
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"],
install_requires=requirements,
classifiers=[
'Development Status :: 4 - Beta',
'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 :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
python_requires=">=3.7",
packages=find_packages(),
entry_points={
"console_scripts": [
"sbom4python = sbom4python.cli:main",
],
},
)
setup(**setup_kwargs)