[SciPy-dev] RPM build problem

Pearu Peterson pearu at scipy.org
Thu Oct 30 12:21:47 CST 2003

On Thu, 30 Oct 2003, Anthony Joseph Seward wrote:

> Lines 19 and 20 of scipy/setup.py are causing problems with the
> bdist_rpm command.  I commented them out and the build works fine as
> instructed in PACKAGERS.txt
> The offending lines:
>   assert 'scipy_core'==os.path.basename(os.path.dirname(\
>       scipy_distutils.__path__[0])), scipy_distutils.__path__[0]
> What was the intention of these lines?

The intention was to ensure that setup.py imports scipy_core packages from 
the CVS tree, not from the installation tree (where they might not be 
updated). When running bdist_rpm command, the situation is a bit different 
and it is OK to remove the offending assert statement. 

I'll fix setup.py and complete other TODO tasks (applying import hooks to
chaco packages, clean ups, updating PACKAGERS.txt, etc) related to new
importing hooks in the next couple of days.


More information about the Scipy-dev mailing list