Lots of rpms of python software have the wrong “file path” compiled into their byte-compiled versions. So when you get tracbacks, you see stuff like ‘/usr/src/rpm/BUILD’ or similar in the paths of the installed python file. I’ve run into this for several packages, but was too lazy to look at it. I added a –destdir option to py-compile. I *think* this should go into automake, but I was asked by Sean Reifschneider to put it here.
Logged In: YES user_id=81797 Ugh, you're right. I was thinking compileall. It looks like py-compile is part of automake, and according to: http://sources.redhat.com/automake/#lists it should be submitted by e-mail to: automake-patches@gnu.org I can send this for you if you would prefer. I'll close this for the moment. Thanks, Sean