[Numpy-discussion] set_local_path in test files

Stéfan van der Walt stefan at sun.ac.za
Wed Jul 2 16:33:19 EDT 2008


2008/7/2 Robert Kern <robert.kern at gmail.com>:
> On Wed, Jul 2, 2008 at 14:34, Alan McIntyre <alan.mcintyre at gmail.com> wrote:
>> On Wed, Jul 2, 2008 at 1:25 PM, Robert Kern <robert.kern at 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