[A-A-P-develop] Re: [scons-devel] auto-configuration plans
Brought to you by:
vimboss
From: David S. <xe...@ne...> - 2003-08-05 16:57:57
|
Bram Moolenaar said: > I just thought of another use of the configure module, if it is made to > work in a generic way: from distutils. Ok, this is the last I am going to say on this subject because if you're going to do the work then that's your business. But since the SCons build engine is already a module, there is nothing stopping you from using the existing configure code from your setup.py. Just install SCons into your site-packages do something like: from SCons.Environment import Environment from SCons.SConf import SConf as Configure env = Environment() sconf = Configure(env) # just an example if sconf.CheckLib('SDL', 'SDL_Init'): print "We have SDL!" sconf.Finish() Thank you. -- David Snopek Satellite Computing Solutions, LLC |