mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
* [wip] single sbom doc Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * fix tests Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * fix more tests Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * fix linting Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * update cli tests Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * remove scope in import path Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * swap SPDX tag-value formatter to single sbom document Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * bust CLI cache Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * update fixture to byte diff Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com> * byte for byte Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com> * bust the cache Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com> * who needs cache Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com> * add jar for testing Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com> * no more bit flips Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com> * update apk with the delta for image and directory cases Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com> * restore cache workflow Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com> Co-authored-by: Christopher Angelo Phillips <christopher.phillips@anchore.com>
43 lines
1.1 KiB
Python
43 lines
1.1 KiB
Python
from setuptools import setup
|
|
|
|
# TODO: if py gets upgrade to >=1.6,
|
|
# remove _width_of_current_line in terminal.py
|
|
INSTALL_REQUIRES = [
|
|
"py>=1.5.0",
|
|
"packaging",
|
|
"attrs>=17.4.0", # should match oldattrs tox env.
|
|
"more-itertools>=4.0.0",
|
|
'atomicwrites>=1.0;sys_platform=="win32"',
|
|
'pathlib2>=2.2.0;python_version<"3.6"',
|
|
'colorama;sys_platform=="win32"',
|
|
"pluggy>=0.12,<1.0",
|
|
'importlib-metadata>=0.12;python_version<"3.8"',
|
|
"wcwidth",
|
|
]
|
|
|
|
|
|
def main():
|
|
setup(
|
|
use_scm_version={"write_to": "src/_pytest/_version.py"},
|
|
setup_requires=["setuptools-scm", "setuptools>=40.0"],
|
|
package_dir={"": "src"},
|
|
extras_require={
|
|
"testing": [
|
|
"argcomplete",
|
|
"hypothesis>=3.56",
|
|
"mock",
|
|
"nose",
|
|
"requests",
|
|
"xmlschema",
|
|
],
|
|
"checkqa-mypy": [
|
|
"mypy==v0.770", # keep this in sync with .pre-commit-config.yaml.
|
|
],
|
|
},
|
|
install_requires=INSTALL_REQUIRES,
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|