fix: strip DESTDIR when compiling Python modules on installation
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
parent
5f99220275
commit
5bb25e979b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue