On Sun, 09 Jul 2023 at 23:00:01 -0400, Eli Schwartz wrote:
> The underlying cause is an additional feature
> of meson:
> 
> https://mesonbuild.com/Release-notes-for-1-2-0.html#python-module-can-now-compile-bytecode
> 
> If this file is not desired in the debian package, please specify your
> preferred value for this meson setting. For example, to avoid compiling
> bytecode as part of `meson install`, you could setup the build system
> with the `-Dpython.bytecompile=-1` option.

I think we probably want debhelper's meson build system backend
(/usr/share/perl5/Debian/Debhelper/Buildsystem/meson.pm) to do this
globally for all Meson-built packages, the same way it already handles
cross-compilation, --prefix, --sysconfdir and so on, instead of having to
do it per-package.

Is there a way for debhelper to set this option without breaking the
build of packages that contain no Python?

    smcv

Reply via email to