-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
47 lines (43 loc) · 1.2 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
from pathlib import Path
from setuptools import setup, find_packages, find_namespace_packages
README = open(Path(__file__).parent / 'README.md').read()
version = open(Path(__file__).parent / 'bogrod' / 'VERSION').read()
dev_deps = [
'tox',
'pytest',
'build',
'pytest-textual-snapshot',
]
setup(
name='bogrod',
version=version,
packages=find_packages() + find_namespace_packages(),
include_package_data=True,
url='https://github.com/productaize/bogrod',
license='MIT',
author='Patrick Senti',
author_email='[email protected]',
description='Manage SBOM, VEX records and release notes in a single tool',
long_description=README,
long_description_content_type='text/markdown',
install_requires=[
'jsonschema<4', # 4.x causes endless loop when validating with bom-1.5.schema.json
'pyyaml',
'tabulate',
'attrdict',
'textual',
'textual-dev', # for testing
'requests',
'yaspin',
'keyring',
],
entry_points={
'console_scripts': [
'bogrod=bogrod:main_cli',
'bd=bogrod:main_cli'
]
},
extras_require={
'dev': dev_deps,
}
)