[Numpy-discussion] set_local_path in test files

Robert Kern robert.kern at gmail.com
Wed Jul 2 15:49:18 EDT 2008


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.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the NumPy-Discussion mailing list