[SciPy-dev] issues with scipy and eggs

Ravikiran Rajagopal ravi at ati.com
Mon Dec 12 15:04:30 CST 2005


On Monday 12 December 2005 15:53, Fernando Perez wrote:
> Robert Kern wrote:
> > Well, there's the problem with the __init__.py's from full scipy
> > overwriting scipy_core's during a regular install. As Andrew suggested,
> > we can simply have synced copies in both packages. To do that *right*, we
> > need some SVN magic (svn:external?).
>
> Mmh, I hadn't noticed this because I've been building from source so far.
>  Is this going to be problematic for package managers?  From what I've
> seen, rpm does not like packages which overwrite files in other packages
> (though there may be directives to tweak that), I don't know what apt-get
> does in this case.

Cheapo solution: the proverbial extra level of indirection. Make __init__.py 
only in scipy_core which checks for existence of scipy_full_init.py at run 
time and sources it if necessary. As I understand it, we need scipy_core to 
install scipy_full; so we can remove __init__.py from scipy_full.

Ravi




More information about the Scipy-dev mailing list