Issue 1091679: py-compile DESTDIR support to compile in correct paths (original) (raw)

Created on 2004-12-27 12:13 by thomasvs, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch thomasvs,2004-12-27 12:13 patch for py-compile
Messages (4)
msg47409 - (view) Author: Thomas Vander Stichele (thomasvs) Date: 2004-12-27 12:13
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.
msg47410 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-12-27 16:24
Logged In: YES user_id=21627 What is the rationale for putting it, beyond that Sean Reifschneider said so? py-compile is not part of Python, AFAICT.
msg47411 - (view) Author: Thomas Vander Stichele (thomasvs) Date: 2004-12-27 16:36
Logged In: YES user_id=197434 There is no other rationale. He asked me to log it here, so I did.
msg47412 - (view) Author: Sean Reifschneider (jafo) * (Python committer) Date: 2004-12-28 23:48
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
History
Date User Action Args
2022-04-11 14:56:08 admin set github: 41369
2004-12-27 12:13:54 thomasvs create