Jack Howarth wrote:
> Daniel,
>     I disagree. The current packaging I've checked in for relax-py
> is as simple as can be done. The scons program uses scripts,
> sconstruct and in the scons subdirectory of relax to program the
> installation and set the directory environmentals in python. Unless
> I want to scrap using scons and hand install relax, the easiest
> approach is to patch the scons scripts in relax to install in
> the fink installation directory for the relax-py packaging without
> precompiling the python scripts. Then post installation, I repatch
> the scons scripts to change the installation path from the
> fink installation directory to the actual installation directory.
> Then the python scripts are recompiled with 'relax --test' which
> is exactly how the scons scripts does it in the first place.
>                  Jack

Jack,

If the scons script for this package is broken wrt staged install into a
destdir, you should fix it. As for byte compiling the .py modules, read
pydoc py_compile.compile and pydoc compileall.compile_dir. Note that
both allow you to set the purported directory name so that errors will
appear correctly.

Peter
-- 
Peter O'Gorman
http://pogma.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to