Index: Mk/Uses/python.mk =================================================================== --- Mk/Uses/python.mk +++ Mk/Uses/python.mk @@ -840,6 +840,7 @@ . if !empty(PEP517_INSTALL_DEPEND) BUILD_DEPENDS+= ${PEP517_INSTALL_DEPEND} . endif +MAKE_ENV+= PYTHONDONTWRITEBYTECODE=y . if !target(do-configure) do-configure: