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

Ralf Gommers ralf.gommers at gmail.com
Tue Oct 27 18:16:56 EDT 2015

On Tue, Oct 27, 2015 at 8:19 AM, Ralf Gommers <ralf.gommers at gmail.com>

Updating this list for comments made after I sent it and now that I've
looked in more detail at what the less common commands do:

> So if/when we accept the proposal in this thread, I'm thinking we should
> make a bunch of changes at once:
> - always use setuptools (this is a new dependency)
> - error on ``python setup.py install``

(removed the item about setup_requires, relevant for scipy but not numpy)

> - error on ``python setup.py clean`` (saying "use `git clean -xdf` (or
> -Xdf ...) instead")
> - change ``python setup.py --help`` to first show numpy-specific stuff
> before setuptools help info
> - update all our install docs

- error on ``python setup.py upload`` (saying "use `twine upload -s`
- error on ``python setup.py upload_docs``
- error on ``python setup.py easy_install`` (I'm not joking, that exists)
- error on ``python setup.py test`` (saying "use `python runtests.py`
- remove setupegg.py


And when "pip upgrade" is released (should be soon, see
> https://github.com/pypa/pip/pull/3194), officially change our mind and
> recommend the use of install_requires/setup_requires to packages depending
> on numpy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20151027/5c7cc459/attachment.html>

More information about the NumPy-Discussion mailing list