jasonjack2015 / protobuf

Automatically exported from code.google.com/p/protobuf
Other
0 stars 0 forks source link

install of python package can fail, pypi packaging of "protobuf" has wrong hosting mode #667

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

There are situations where "pip install protobuf==2.5.0" commands for 
installing the python package cause a failure because in certain configurations 
it will scrape the home page and find the "protobuf-2.5.0.zip" source package 
there but this is not the python package and the pip command then fails.

As it seems, all protobuf python packages are hosted from the pypi servers so 
it's safe to just use the hosting mode "don't extract URLs" which you can 
configure when logged in ad admin on pypi, on a link that should look like this:

https://pypi.python.org/pypi?name=protobuf&version=2.6.0&:action=urls

This would also speed up installs as the home page will not be looked at 
anymore.

best,
holger

Original issue reported on code.google.com by holger.k...@gmail.com on 3 Sep 2014 at 3:38

GoogleCodeExporter commented 9 years ago
Fixed. Thanks for the suggestion.

Original comment by liujisi@google.com on 3 Sep 2014 at 4:42