[SciPy-User] [SciPy-user] Extracting particular modules out of scipy

Christopher Barker Chris.Barker@noaa....
Thu Oct 14 11:07:31 CDT 2010


On 10/13/10 11:18 AM, mihailo wrote:
> I am new to python and scipy and I recently started working on a project
> which requires much numerical calculations, including ode solving,
> interpolating and integrating. My project is intended to be available to the
> general public. Here is my trouble: Scipy is a big package and I don't want
> to tell people they need to install entire scipy before they can run my code
> (if I don't have to). What is the best way to extract only modules I
> actually need from scipy (interpolate, odeint and integrate)?

Just pull them out by hand and make your own package. If you need a lot, 
and some of what you need is fortran compiled, then there is little 
point, but I've done it when I needed a few functions, didn't need 
anything fortran compiled, and fortran compiling was causing me pain.

How tight is your users bandwidth/disk space?

Note that you'll also probably have to clean up some imports that are no 
longer valid.

-Chris





-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov


More information about the SciPy-User mailing list