[Numpy-discussion] New release of NumPy coming

Pearu Peterson pearu at scipy.org
Thu Feb 16 02:32:03 EST 2006


On Wed, 15 Feb 2006, Francesc Altet wrote:

> A Dimecres 15 Febrer 2006 11:18, Pearu Peterson va escriure:
>> On Wed, 15 Feb 2006, Francesc Altet wrote:
>>> I've been trying to see how to correctly load the unicode tests, but
>>> failed miserably. Perhaps Pearu can tell us about the correct way to
>>> do that.
>>
>> I have fixed it in svn. When importing modules from tests/ directory, one
>> must surround the corresponding import statements with set_local_path()
>> and restore_path() calls.
>
> Ah, ok. Is there any place where this is explained or we have to use
> the source to figure out these sort of things?

There is a single note about set_local_path in 
numpy/doc/DISTUTILS.txt. I agree that it would be nice to have Howtos such 
as
"Howto write scipy-styled setup.py"
"Howto write scipy-styled unit tests"
etc

Pearu




More information about the NumPy-Discussion mailing list