Correct build for fuzzing

pull/707/head
Nicco Kunzmann 2024-09-05 11:34:36 +01:00
rodzic 40e0e431e0
commit c6804de5f1
2 zmienionych plików z 15 dodań i 2 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
# We use the pyproject.toml package specification.
# See https://packaging.python.org/en/latest/guides/section-build-and-publish/
# See https://github.com/collective/icalendar/issues/686
# See https://packaging.python.org/en/latest/specifications/pyproject-toml/#license
# See https://packaging.python.org/en/latest/specifications/pyproject-toml/
#
[build-system]
@ -86,6 +86,17 @@ test = [
[project.scripts]
icalendar = "icalendar.cli:main"
[tool.hatch.build]
exclude = [
"/.*",
"/*.*",
"/src/icalendar/fuzzing",
"/docs",
"/dist",
"/build",
"/htmlcov",
]
[tool.hatch.metadata.hooks.vcs.urls]
# This is a dynamic generation of [project.urls]
Homepage = "https://icalendar.readthedocs.io/"

Wyświetl plik

@ -7,7 +7,9 @@ set -e
cd "`dirname \"$0\"`"
cd "../../.."
python3 setup.py sdist
rm -rf dist
pip3 install build
python3 -m build
archive=`echo dist/icalendar-*.tar.gz`
if ! [ -f "$archive" ]; then