Skip to content

Commit c3570f1

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 c3570f1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33

44
RELEASE := $(shell ./build-aux/release)
55
PACKAGE_NAME=ovirt-imageio
6+
PYTHON_PACKAGE_NAME=ovirt_imageio
67
PACKAGE_VERSION=$(shell python3 ovirt_imageio/_internal/version.py)
78
OUTDIR=dist
89

910
VENV_DIR = $(HOME)/.venv/ovirt-imageio
1011

1112
RPM_TOPDIR?=$(PWD)/build/rpm
12-
TAR_NAME=$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz
13+
TAR_NAME=$(PYTHON_PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz
1314
SPEC_NAME=$(PACKAGE_NAME).spec
1415

1516
GENERATED = \

0 commit comments

Comments
 (0)