fix: strip DESTDIR when compiling Python modules on installation

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
Christopher Arndt 2023-11-09 16:19:22 +01:00 committed by Christopher Arndt
parent 5f99220275
commit 5bb25e979b
1 changed files with 1 additions and 1 deletions

View File

@ -16,4 +16,4 @@ if 'DESTDIR' not in environ:
print('Compiling Python module to bytecode...')
moduledir = sysconfig.get_path('purelib', vars={'base': destdir})
compile_dir(path.join(moduledir, 'jack_mixer'), optimize=1)
compile_dir(path.join(moduledir, 'jack_mixer'), optimize=1, stripdir=destdir)