Skip to content

Commit 01b14b2

Browse files
committed
build: fix builds with new setuptools
Since setuptools v69.3.0, name of the tar file is modified according to PEP 625. Therefor update the code so it builds correctly again with newer setuptools versions. Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>
1 parent d053268 commit 01b14b2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ check: images
2727

2828
dist: $(GENERATED)
2929
python3 setup.py sdist --dist-dir "$(OUTDIR)"
30+
mv "$(OUTDIR)/ovirt_imageio-$(PACKAGE_VERSION).tar.gz" "$(OUTDIR)/$(TAR_NAME)"
3031

3132
container: dist
3233
cp $(OUTDIR)/ovirt-imageio-*.tar.gz container/ovirt-imageio.tar.gz

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
long_description=long_description,
1717
long_description_content_type="text/markdown",
1818
license="GNU GPLv2+",
19-
name="ovirt-imageio",
19+
name="ovirt_imageio",
2020
packages=[
2121
"ovirt_imageio",
2222
"ovirt_imageio._internal",

0 commit comments

Comments
 (0)