Hello,
Xavier Juvigny, computer scientist at ONERA and expert of
scons/distutils, gave me some interesting informations :
- scons is good for building C++, but is not made to manage python
code/modules,
- distutils is good for managing python modules and generating SWIG
interfaces, it is very easy to use,
=> building Qserv modules could be done by launching a scons script
which first compile C++, and then generated SWIG interfaces and deploy
python modules and by launching a target which would run "python setup.py'
- having a high-level scons tools for deploying the configuration and
launching the building of all packages seems to be a good alternative. A
pure python script would also work but would not manage dependencies and
clean target so well. Using a shell script must be avoided because it's
complexity would make it sensible to shell versions, and furthermore it
can be broken by user environnement (scons doesn't),
- if using distutils for managing python modules/SWIG, then a python
package (i.e. a directory is site-package/) must be managed by only one
setup.py
Thanks again to Xavier for its time and its help,
Have a nice day,
Fabrice
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1
|