[SciPy-dev] Always including lapack_lite and blas_lite in sdist

Travis Oliphant oliphant at ee.byu.edu
Sun Oct 2 18:32:53 EDT 2005


Pearu Peterson wrote:

>
> Using `sdist in sys.argv` works but not in general. scipy.distutils 
> supports a general solution that in addition to the above problem, it 
> can handle cases where configuration depends also on a platform (e.g. 
> creating distributions on different platfrom from where it will be used).
> So, I wouldn't use `sdist in sys.argv` but methods provided by 
> scipy.distutils. For example, using depends keyword argument to 
> Configuration.add_extension method, or functions that can filter out 
> unnecessary sources, etc. If you have already used `sdist in 
> sys.argv`, that's ok, just I may replace this approach with another one.

Great,  I was hoping you would find a better solution.  'sdist' in 
sys.argv seems like a bit of a hack.

-Travis




More information about the SciPy-Dev mailing list