Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92216 - patch for distutils.eclass to install scripts into /usr/bin on ppc-macos
Summary: patch for distutils.eclass to install scripts into /usr/bin on ppc-macos
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 91393
  Show dependency tree
 
Reported: 2005-05-10 23:27 UTC by dan
Modified: 2007-09-01 11:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
makes distutils.eclass install scripts into /usr/bin on ppc-macos (distutils.eclass.patch,478 bytes, patch)
2005-05-10 23:33 UTC, dan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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