[SciPy-user] bdist_rpm build error in scipy_core from CVS

Pearu Peterson pearu at scipy.org
Sat Jan 29 09:22:24 EST 2005



On Sat, 29 Jan 2005, Pearu Peterson wrote:

> On Fri, 28 Jan 2005, Fernando Perez wrote:
>
> @@ -43,16 +61,6 @@
> #-------------------------------
>
> def setup_package(ignore_packages=[]):
> -
> -    if command_sdist and os.path.isdir('scipy_core'):
> -        # Applying the same commands to scipy_core.
> -        # Results can be found in scipy_core directory.
> -        c = '%s %s %s' % (sys.executable,
> -
> os.path.abspath(os.path.join('scipy_core','setup.py')),
> -                          ' '.join(sys.argv[1:]))
> -        print c
> -        s = os.system(c)
> -        assert not s,'failed on scipy_core'
>
> Fernando, could you convince me to remove this codelet as you did?
>
> The idea behind this code is that executing
>
>  python setup.py install
>
> in cvs/scipy directory will install also scipy_core packages,
> so that people wouln't need to execute the same command
> in cvs/scipy/scipy_core directory.

Actually, this idea holds only for commands like sdist, bdist_rpm, 
sdist_packagers, not for install.

Pearu




More information about the SciPy-User mailing list