mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
py-mod.mk: Make python compilation errors fatal
Pass doraise=True to py_compile.compile() Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f7b41f0652
commit
c67ce9fa1b
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ ifneq ($(PYTHON_VERSION),3)
|
|||
else
|
||||
__pycache__/%.cpython-37.pyc: %.py
|
||||
endif
|
||||
$(PYTHON) -c "import py_compile; py_compile.compile(\"$<\")"
|
||||
$(PYTHON) -c "import py_compile; py_compile.compile(\"$<\", doraise=True)"
|
||||
|
||||
ifeq ($(PYTHON),python3)
|
||||
$(PY_INSTALL_DIR_PY)/__pycache__/%.cpython-37.pyc: __pycache__/%.cpython-37.pyc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue