[Numpy-discussion] set_local_path in test files

Stéfan van der Walt stefan@sun.ac...
Wed Jul 2 15:33:19 CDT 2008


2008/7/2 Robert Kern <robert.kern@gmail.com>:
> On Wed, Jul 2, 2008 at 14:34, Alan McIntyre <alan.mcintyre@gmail.com> wrote:
>> On Wed, Jul 2, 2008 at 1:25 PM, Robert Kern <robert.kern@gmail.com> wrote:
>>> Please remove them and adjust the imports. As I've mentioned before,
>>> numpy and scipy can now reliably be built in-place with "python
>>> setup.py build_src --inplace build_ext --inplace". This is a more
>>> robust method to test uninstalled code than adjusting sys.path.
>>
>> Ok.  Since set_package_path is also just used for adjusting sys.path,
>> should that go away as well?  If so, I'll remove set_package_path,
>> set_local_path, and restore_path from numpy/testing/numpytest.py, and
>> of course remove all their uses.
>
> Please deprecate the functions for 1.2 and schedule them for removal in 1.3.

I'm really glad these are disappearing -- they were never working
properly for arbitrarily deeply nested modules.

Regards
Stéfan


More information about the Numpy-discussion mailing list