-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I wonder if anyone has a solution to incorrect path-names in byte-compiled python packages.
In the normal dist-utils install step within the context of an rpmbuild, all paths get prepended /var/tmp/buildroot-.../usr/lib/python2.x/site-packages. This causes incorrect stack trace information to be shown.
I'd taken to doing byte-compilation in the %post step to fix this, but I've discovered a much worse effect from this in that all the .pyc and pyo files thus fall outside RPM control, and when removing the package, stay in place, effectively negating the removal (although the translation units are definitely gone...)
Any thoughts?
Alan