New comment by jbenden on void-packages repository https://github.com/void-linux/void-packages/pull/19118#issuecomment-589912412 Comment: I just figured out that a number of Python files were removed (post-install) by `xbps-src` hook scripts. But since these compiled Python files are required, I had to concoct a general solution to the problem. I added a method of defining extra variables that control which hook scripts are skipped. For example, the one I'm using to skip over post-install hooks: ``` skip_post_install_hooks="02-remove-libtool-archives 02-remove-perl-files 02-remove-python-bytecode-files" ```