[SciPy-dev] Always including lapack_lite and blas_lite in sdist
oliphant at ee.byu.edu
Sun Oct 2 01:20:55 CDT 2005
Fernando Perez wrote:
> Travis Oliphant wrote:
>> Eric Firing noticed a problem with the newcore setup.py script in
>> that the blas_lite and lapack_lite files are missing. This is
>> because, on my system, I used blas and so didn't compile those.
>> I'm wondering how we can detect in the setup.py file that an sdist
>> command has been issued and so include the blas_lite and lapack_lite
>> files even if somebody has atlas installed.
>> Does somebody know how to tell what command was run when we are
>> inside a configuration?
> In most cases, a test like
> if 'sdist' in sys.argv:
> should work, I would think. Unless something is actively rewriting
> sys.argv, even other scripts called by setup.py should see this. Or
> am I missing something more subtle?
No, I think you got it. Somethings just escape me :-)
Thanks for the help.
More information about the Scipy-dev