From: Daniel M. <dm...@ne...> - 2008-01-30 20:04:49
|
On Jan 30, 2008 12:20 PM, Jed Frechette <jd...@un...> 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 dm...@ne... http://www.netspace.org/~dmacks |