[SciPy-dev] Re: How to avoid arch specific compiler flags in scipy_distutils?

Pearu Peterson pearu at scipy.org
Thu Feb 12 14:13:29 CST 2004


Hi José,

On Thu, 12 Feb 2004, José Fonseca wrote:

> On Wed, 11 Feb 2004 12:20:18 -0600 (CST), Pearu Peterson wrote:
> > Yes, there is. Use build_src branch of scipy_distutils (soon it will be 
> > merged into the HEAD branch):
> >
> >   cd cvs/scipy/scipy_core/scipy_distutils/
> >   cvs -z7 update -r build_src
> >
> > Then build scipy as follows
> >
> >   python setup.py config_fc --noarch build
> 
> Thanks, this did the trick. The new packages on
> http://jrfonseca.dyndns.org/debian/ should now be sub-architecture independent.
> 
> Strangely, now when I do "import scipy" I get a warning "No module named
> __cvs_version__", probably due to the branch merging, but I'm not very
> concerned about it since you say that branch will be soon be merged in
> the repository.

Yes, it turns out that whenever using branches, __cvs_version__ will not 
be available. Btw, the build_src branch is now in HEAD, so

  rm -rf  scipy_distutils && cvs update -Pd

is in order for whoever used build_src branch.

> If you don't mind commiting this patch below fixing the python binary
> paths, that would save me the trouble of patching-up afterwards:

Done.

> So, besides this, the remaining steps to get scipy in debian proper are:
>  - write a manpage for f2py

Done in f2py CVS.

Thanks,
Pearu



More information about the Scipy-dev mailing list