Source code restructuring for subpackages
Based on the example from @kipp.cannon in !1058 (closed), I would like to reorganise the source code for all lalsuite component libraries to separate out the library parts from the executables. Both the C-language and Python executables would be moved out of lib/
and python/
respectively into bin/
. After this we should have the following source structure:
Directory | Contents |
---|---|
bin/ |
the source code for all executables in any language |
lib/ |
the source code for the C libraries |
python/<package>/ |
the python module code |
swig/ |
the SWIG interface stuff |
test/ |
test code (including test/python/ for python tests) |
This should have zero impact on the binary packages, but will be disruptive for ongoing development. I would like to attempt this before completing the packaging work described in #296 (closed).
Comments please @adam-mercer, @karl-wette, @jolien-creighton, @ed-maros, @riccardo-sturani, @frank-ohme, @sebastian-khan, @harald.pfeiffer, @maria.haney, @kipp.cannon, @gabriele-vedovato, @marco-drago, @david-keitel, @bfarr, @cjhaster, @john-veitch, @vivien, @salvatore-vitale (all listed CODEOWNERS of subpackages).
EDIT 2020/05/15: the above layout has been edited to keep the python
modules in the python/<package>/
directory, see the discussion below (#301 (comment 177066)).