The approach I would take (I've only just begun looking at scons) is
to use a sandbox like virtualenv or zc.buildout - with virutalenv
you'd want to use something like pip to install the packages (there's
a command to read packages from a file which makes it very useful, you
could also create a python egg that has installation requirements,
which would pull in any dependancies) .

I like buildout because it's all sort of automatic - you make an ini
file, and tell it what to install. The CMMI recipes are really robust
given the somewhat limited scope of the tool, and you can always write
your own recipes if what's available doesn't do what you want (it's
literally a single class with 3 methods to implement).

It's also possible to make the buildout somewhat portable, so you can
built it once, and then package it up as a tar file (or maybe a linux
package, depending on your target), or just distribute the build
configs.

JJ

On Thu, Oct 4, 2012 at 1:20 PM, Tim <[email protected]> wrote:
>
> I currently use scons, which I find quite handy.  I haven't yet
> figured out a great way to install python libraries from within scons
> (including uninstall, etc), but it is beats make for C/C++ builds in
> terms of easy of use and portability.
>
> When I'm forced kicking and screaming into building Java apps, I use
> ant, which helps hide some of the foolishness associated with Java.
>
> HTH,
> tim
>
>
> On Thu, Oct 04, 2012 at 04:56:24PM +0000, Robert Lugg wrote:
>> Hi all,
>>
>> My first post, so hopefully this is relevant to our group.  I want to setup 
>> a make system.  By default gmake seems to be the most used.  However, there 
>> are several alternatives.  The task can be represented as:
>>
>> A Python program reads in specific files and outputs a file based on the 
>> input files.
>> When I "run", I only want to run the python program if the input files have 
>> been modified.
>>
>> A quick google search yielded Vellum , buildit , paver, waf, aap. I had no 
>> idea that there were so many alternatives!
>>
>> What systems have you found useful in the past and which do you use today?
>>
>> Regards,
>>
>> Robert
>> _______________________________________________
>> Portland mailing list
>> [email protected]
>> http://mail.python.org/mailman/listinfo/portland
> _______________________________________________
> Portland mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/portland
_______________________________________________
Portland mailing list
[email protected]
http://mail.python.org/mailman/listinfo/portland

Reply via email to