On Jan 30, 2008 12:20 PM, Jed Frechette <[EMAIL PROTECTED]> wrote:
> All of the rst2* scripts crash with:
> "ImportError: No module named docutils.core"
>
> I gather that this is because docutils' CompileScript used /usr/bin/
> python to build the package, which modified the shebang lines. Is  
> this
> intentional or should it be using %p/bin/python like the  
> InstallScript.

That latter is exactly how almost all fink-packaged python packages
are done. If one explicitly says "/usr/bin/python", one gets many
things specifically tailored for that python interp, including
library, executable, and other pathname settings and also details
specific to the python-version. If one wants to tailor to a different
python interp and/or version, must specify it as early as possible in
the whole packaging process: there may be lots of differences in the
build phase, rather than just "where to install the actual lib files".

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to