[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] how to install executable python scripts in a bin subdir ?



why do not you just add it to the em module?
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
> 
> https://salilab.org/mailman/listinfo/imp-dev