kopia lustrzana https://github.com/collective/icalendar
Correct build for fuzzing
rodzic
40e0e431e0
commit
c6804de5f1
|
@ -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/"
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue