Following various discussion, we recently decided that only application executables get installed with IMP and that the module/bin is just for internal tools (eg benchmarks). I'm still ambivalent (as are, I think, most people), but that is what the code currently is doing.
Creating an application is simply a matter of making a directory that has a SConscript with an IMPApplication call in it. See the em_tools application for one which has python scripts.
On Jan 24, 2011, at 8:34 AM, Benjamin SCHWARZ wrote:
> Hi list,
>
> Just wondering where I am supposed to place my personal-module-specific python scripts so that they will ultimately be placed in the imp-install/bin subdir.
> More specifically, I wrote a module emben hosting some cpp code to assess the intensity threshold I should use in an EM map to obtain a given mass or volume. Everything compiles and runs ok, and I am able to access my functions in the python interpreter. Now, I wrote a python script computeMapThreshold.py to specifically achieve the task on a command line basis, but I don't know where to place the script so that "scons install" will place it in the install bin subdir…
> emben/bin does not do the trick… it seems only cpp code is considered here
> emben/pyext/src does not work any better : the file is simply copied to the IMP.emben python library.
>
> Any hint ?
>
> --Ben
> _______________________________________________
> IMP-dev mailing list
> IMP-dev@salilab.org
> https://salilab.org/mailman/listinfo/imp-dev