On Thu, Aug 07, 2008 at 10:43:06AM -0400, Jack Howarth wrote: > I have created fink packaging for a relax-py > package to install the relax software package for > protein dynamics by NMR relaxation data analysis > (http://www.nmr-relax.com/). Relax uses scons for > c code compilation, installation and python script > compilation. Because 'scons install' in relax, > compiles python scripts, I have called it from > a post-installation script. Because of this > post-installation call to scons, I had to take > the approach of packaging the relax-1.3.0 source > directory in %p/share (after calling 'scons' to > compile the c code) and then installing relax > in %p/lib/relax-py2X during postinstallation (so > that the python scripts are compiled locally). > I noticed that scons doesn't allow a Depends > and wondering if this had been thought through > enough. If scons (being python based) normally > precompiles when 'scons install' is executed, it > would seem that this call should always be made > on postinstallation. > Jack > ps I will posting the relax-py packaging on fink > tracking shortly.
The python module-compiler routines have standard ways to handle the idea of a separate packaging directory from the ultimate runtime path. Fix relax to do it that way as part of the InstallScript (not sure if relax itself needs to know to tell scons to do it that way or if it's a missing feature in scons itself). Always better have build tools used at build-time rather than loading up the dependencies that even bindist users would need. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------------------------- 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 [email protected] http://news.gmane.org/gmane.os.apple.fink.devel
