[SciPy-dev] issues with scipy and eggs

Andrew Straw strawman at astraw.com
Mon Dec 12 17:07:04 EST 2005


Robert Kern wrote:

>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.
>>    
>>
>
>You're right. setuptools is actually supposed to generate an __init__.py with
>that fragment when one needs to be there but isn't. The last time I tried, I
>don't think I got it to work, but I wasn't trying hard. I only cared about
>getting the packages built and working for me, so manually adding them was the
>easiest way. If I can get it to work, the solution here would be to delete
>scipy/Lib/lib/__init__.py and add the fragments to the relevant __init__.py's in
>scipy_core.
>
>  
>
Ahh, I just read this email after I sent my last one (where I suggested 
to use "declare_namespace" in full scipy setup.py setup()). I believe 
that proposal is essentially the same as what you're proposing -- 
great.  Let's see if we can get it to work...




More information about the SciPy-Dev mailing list