Re: [Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

2015-10-26 Thread Juan Nunez-Iglesias
Is there a pip equivalent of "python setup.py develop"? On Tue, Oct 27, 2015 at 5:33 PM Charles R Harris wrote: > On Tue, Oct 27, 2015 at 12:08 AM, Nathaniel Smith wrote: > >> On Mon, Oct 26, 2015 at 11:03 PM, Charles R Harris >> wrote: >> > >> [...] >> > I gave it a shot the other day. Pip ke

Re: [Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

2015-10-26 Thread Charles R Harris
On Tue, Oct 27, 2015 at 12:08 AM, Nathaniel Smith wrote: > On Mon, Oct 26, 2015 at 11:03 PM, Charles R Harris > wrote: > > > [...] > > I gave it a shot the other day. Pip keeps a record of the path to the > repo > > and in order to cleanup I needed to search out the file and delete the > repo >

Re: [Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

2015-10-26 Thread Nathaniel Smith
On Mon, Oct 26, 2015 at 11:03 PM, Charles R Harris wrote: > [...] > I gave it a shot the other day. Pip keeps a record of the path to the repo > and in order to cleanup I needed to search out the file and delete the repo > path. There is probably a better way to do that, but it didn't strike me as

Re: [Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

2015-10-26 Thread Charles R Harris
On Mon, Oct 26, 2015 at 10:31 PM, Nathaniel Smith wrote: > Hi all, > > Apparently it is not well known that if you have a Python project > source tree (e.g., a numpy checkout), then the correct way to install > it is NOT to type > > python setup.py install # bad and broken! > > but rather to

Re: [Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

2015-10-26 Thread Nathaniel Smith
On Mon, Oct 26, 2015 at 9:31 PM, Nathaniel Smith wrote: [...] > I believe that this would also break both 'easy_install numpy', and > attempts to install numpy via the setup_requires= argument to > setuptools.setup (because setup_requires= implicitly calls > easy_install). install_requires= would

[Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

2015-10-26 Thread Nathaniel Smith
Hi all, Apparently it is not well known that if you have a Python project source tree (e.g., a numpy checkout), then the correct way to install it is NOT to type python setup.py install # bad and broken! but rather to type pip install . (I.e., pip install isn't just for packages on pypi

Re: [Numpy-discussion] Numpy Generalized Ufuncs: Pointer Arithmetic and Segmentation Faults (Debugging?)

2015-10-26 Thread eleanore.young
Dear Jaime, dear Travis thanks for pointing out my stride errors. This just gets me every time. After trying out Travis’ suggestion to work with numba, I feel that this works best for me. Functions are easier to generalise to different data types and I can make use of my existing Python develop