[Patches] [ python-Patches-1091679 ] py-compile DESTDIR support to compile in correct paths

SourceForge.net noreply at sourceforge.net
Mon Dec 27 17:24:38 CET 2004


Patches item #1091679, was opened at 2004-12-27 13:13
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1091679&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Vander Stichele (thomasvs)
Assigned to: Sean Reifschneider (jafo)
Summary: py-compile DESTDIR support to compile in correct paths

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2004-12-27 17:24

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1091679&group_id=5470


More information about the Patches mailing list