Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 92216

Summary: patch for distutils.eclass to install scripts into /usr/bin on ppc-macos
Product: Gentoo Linux Reporter: dan <reddan>
Component: EclassesAssignee: Gentoo for Mac OS X <ppc-macos>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 91393    
Attachments: makes distutils.eclass install scripts into /usr/bin on ppc-macos

Description dan 2005-05-10 23:27:46 UTC
The standard OSX python distutils distribution by default installs scripts into /System/Library/Frameworks/Python.framework/Versions/2.3/bin/ which is not in the users' standard search PATH.

This two-line patch makes distutils.eclass adds the option "--install-scripts /usr/bin" to the "setup.py install" command, only for ppc-macos.

I realise that users can simply add the above directory to their PATH variable, but this is not the ideal solution, as some OSX gui apps (ie carbon emacs with ipython support) need certain python scripts in /usr/bin for full functionality.

Note that this is a solution to bug #84815 - http://bugs.gentoo.org/show_bug.cgi?id=84815

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 dan 2005-05-10 23:33:21 UTC
Created attachment 58645 [details, diff]
makes distutils.eclass install scripts into /usr/bin on ppc-macos

patch -p0 <distutils.eclass.patch
Comment 2 Fabian Groffen gentoo-dev 2007-09-01 11:19:58 UTC
Please use prefix, where we use our own python on OSX