setup.py
sirf
p(Gadgetron|STIR|Utilities)
to sirf.p(Gadgetron|STIR|Utilities)
for backward-compatibilityINSTALL/
python/
*.(py|so)
INSTALL/
python/
setup.py
sirf/
__init__.py
*.(py|so)
p*/__init__.py
https://github.com/CCPPETMR/SIRF-SuperBuild/pull/109
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
hi. I didn't check this yet, but quite a few extra changes here related to Docker etc. intentional?
yes, it's some fairly no-brainer docker tidy up, would probably merge that in separately first (#110)
@paskino please note my comment in the description about using setup.py to call cmake
- in which case we might be able to get away with
Casper is setup.py already calling cmake to build sirf?
No, but I could make it that way. Right now the procedure is:
PYTHONPATH
is no longer altered anywheresetup.py
is generated and used in a pip install
command to automatically pick up built python modulesMaybe that's not necessary then. conda recipe currently covers 1 and 2. If we split 3 in:
3.a cmake && make
3.b python setup.py install
I guess I could just merge this branch in the conda branch adding 3.b
I don't see the benefit of splitting into 3a and 3b. "make" already calls setup.py
. why split it?
I also don't think letting setup.py
do cmake&&make
is a good idea. It means you cannot build MATLAB and Python in one go.
(obviously, in the conda script you wouldn't want to call make
but cmake --build -C Release
or whatever the syntax is).
@casperdcl pushed 1 commit.
—
You are receiving this because you are subscribed to this thread.
View it on GitHub or mute the thread.
@casperdcl pushed 2 commits.
—
You are receiving this because you are subscribed to this thread.
View it on GitHub or mute the thread.
The conda built SIRF works, except #111
btw, docker image sizes for different python sources:
@casperdcl pushed 2 commits.
—
You are receiving this because you are subscribed to this thread.
View it on GitHub or mute the thread.
@KrisThielemans commented on this pull request.
I feel that the SIRF specific stuff (i.e. 90%) should be in the SIRF repo itself, but not sure if that'd lead to a ton of duplication.
If we need to keep it here, it definitely needs to be in a separate file, presumably called from External_SIRF.cmake
> @@ -0,0 +1,40 @@ +#!/usr/bin/env python
is this ok? shouldn't it use PYTHONINTERP?
@casperdcl commented on this pull request.
should be fine, mainly just for correct syntax highlighting despite the .in
extension - it's never executed directly (always ${PYTHON_EXECUTABLE} setup.py
, not ./setup.py
) so is ignored anyway
@casperdcl pushed 1 commit.
—
You are receiving this because you are subscribed to this thread.
View it on GitHub or mute the thread.
@casperdcl pushed 1 commit.
—
You are receiving this because you are subscribed to this thread.
View it on GitHub or mute the thread.
Merged #109.