
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? Tony -- Anthony Joseph Seward <anthony.seward@ieee.org>

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. Pearu
participants (2)
-
Anthony Joseph Seward
-
Pearu Peterson