Marcel Telka
2022-11-07 18f75af9b6cab918a6c23082dc83bd789396540f
pyproject.mk: make bootstrap transforms overridable by components

1 files modified
3 ■■■■ changed files
make-rules/pyproject.mk 3 ●●●● patch | view | raw | blame | history
make-rules/pyproject.mk
@@ -66,7 +66,8 @@
$(BUILD_DIR)/%-3.9/.installed:    COMPONENT_POST_INSTALL_ACTION +=    $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_LIB) ;
# Special transforms needed only until we drop support for Python 3.7
PUBLISH_TRANSFORMS +=    $(WS_TOP)/transforms/python-bootstrap
BOOTSTRAP_TRANSFORMS =    $(WS_TOP)/transforms/python-bootstrap
PUBLISH_TRANSFORMS +=    $(BOOTSTRAP_TRANSFORMS)
else
COMPONENT_BUILD_CMD =        $(PYTHON) -m build
COMPONENT_BUILD_ARGS =