generated from aboutcode-org/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from nexB/247-create-purl-cli-tool
Create PURL CLI tool and library
- Loading branch information
Showing
12 changed files
with
942 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
PurlDB toolkit | ||
============== | ||
[To come.] | ||
|
||
Installation | ||
------------ | ||
|
||
[To come.] | ||
|
||
|
||
Usage | ||
----- | ||
|
||
[To come.] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[project] | ||
name = "purldb-toolkit" | ||
version = "0.0.1" | ||
|
||
[build-system] | ||
requires = ["setuptools == 68.2.2", "wheel", "setuptools_scm[toml] >= 6"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
# this is used populated when creating a git archive | ||
# and when there is .git dir and/or there is no git installed | ||
fallback_version = "9999.$Format:%h-%cs$" | ||
|
||
[tool.pytest.ini_options] | ||
norecursedirs = [ | ||
".git", | ||
"bin", | ||
"dist", | ||
"build", | ||
"_build", | ||
"dist", | ||
"etc", | ||
"local", | ||
"ci", | ||
"docs", | ||
"man", | ||
"share", | ||
"samples", | ||
".cache", | ||
".settings", | ||
"Include", | ||
"include", | ||
"Lib", | ||
"lib", | ||
"lib64", | ||
"Lib64", | ||
"Scripts", | ||
"thirdparty", | ||
"tmp", | ||
"venv", | ||
"tests/data", | ||
".eggs", | ||
"src/*/data", | ||
"tests/*/data" | ||
] | ||
|
||
python_files = "*.py" | ||
|
||
python_classes = "Test" | ||
python_functions = "test" | ||
|
||
addopts = [ | ||
"-rfExXw", | ||
"--strict-markers", | ||
"--doctest-modules" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
[metadata] | ||
name = purldb-toolkit | ||
version = 0.0.1 | ||
license = Apache-2.0 | ||
|
||
# description must be on ONE line https://github.com/pypa/setuptools/issues/1390 | ||
description = purldb-toolkit | ||
long_description = file:README.rst | ||
long_description_content_type = text/x-rst | ||
url = https://github.com/nexB/purldb/tree/main/purldb-toolkit | ||
|
||
author = nexB. Inc. and others | ||
author_email = [email protected] | ||
|
||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Intended Audience :: Developers | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
Topic :: Software Development | ||
Topic :: Utilities | ||
|
||
keywords = | ||
utilities | ||
|
||
license_files = | ||
apache-2.0.LICENSE | ||
NOTICE | ||
AUTHORS.rst | ||
CHANGELOG.rst | ||
|
||
[options] | ||
package_dir = | ||
=src | ||
packages = find: | ||
include_package_data = true | ||
zip_safe = false | ||
|
||
setup_requires = setuptools_scm[toml] >= 4 | ||
|
||
python_requires = >=3.7 | ||
|
||
install_requires = | ||
click | ||
fetchcode | ||
requests | ||
packageurl-python | ||
|
||
[options.packages.find] | ||
where = src | ||
|
||
|
||
[options.extras_require] | ||
testing = | ||
pytest >= 6, != 7.0.0 | ||
pytest-xdist >= 2 | ||
aboutcode-toolkit >= 6.0.0 | ||
black | ||
|
||
docs = | ||
Sphinx >= 3.3.1 | ||
sphinx-rtd-theme >= 0.5.0 | ||
doc8 >= 0.8.1 | ||
|
||
|
||
[options.entry_points] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env python | ||
|
||
import setuptools | ||
|
||
if __name__ == "__main__": | ||
setuptools.setup() |
Empty file.
Oops, something went wrong.