[openstack-dev] [pbr] support for 'python setup.py install'

Monty Taylor mordred at inaugust.com
Sat Apr 25 14:27:20 UTC 2015


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 ...



More information about the OpenStack-dev mailing list