On 04/25/2015 09:49 AM, Jeremy Stanley wrote: > On 2015-04-25 12:12:15 +1200 (+1200), Robert Collins wrote: > [...] >> I'd like to make that a little more official: >> - put it in our docs >> - stop testing python setup.py install. > [...] > > And emit a clear error message? (Even if that just means updating the > setup.py boilerplate in the cookiecutter repo and encouraging > projects to adopt the function.) >
Unfortunately there is no way to detect that you're being run via setup.py install instead of pip. What will happen though is that easy_install will get triggered instead of egg_info/pip install ... so we _could_ just do something to try to emit a warning around one of the easy_install classes ... __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev