Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gen/generate-bindings
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ for v in $SPDX_VERSIONS; do
--context-url "file://${SHACL2CODE_SPDX_DIR}/$v/spdx-context.jsonld" https://spdx.org/rdf/$v/spdx-context.jsonld \
--license Apache-2.0 \
python \
-o "$MODNAME.py"
--output "$MODNAME"
else
shacl2code generate --input https://spdx.org/rdf/$v/spdx-model.ttl \
--input https://spdx.org/rdf/$v/spdx-json-serialize-annotations.ttl \
--context https://spdx.org/rdf/$v/spdx-context.jsonld \
--license Apache-2.0 \
python \
-o "$MODNAME.py"
--output "$MODNAME"
fi

echo "from . import $MODNAME" >> __init__.py
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Issues = "https://github.com/spdx/spdx-python-model/issues"

[build-system]
requires = [
"hatchling",
"hatch-build-scripts",
"shacl2code == 0.0.25",
"hatchling >= 1.27.0",
"hatch-build-scripts >= 0.0.4",
"shacl2code == 1.0.0",
]
build-backend = "hatchling.build"

Expand Down