RDFLib/rdflib — Issue #190: Download URL for 3.2.0 is broken
Author: gjhiggins
Created: 2012-02-20 08:34:46+00:00
State: open

i...@kasabi.com, 2012-01-20T16:16:35.000Z

The download_url in setup.py is set to http://rdflib.net/rdflib-3.2.0.tar.gz but this redirects to the google code project page. This breaks installation using easy_install etc.

Comment 1 by egon.wil...@gmail.com
The problem seems to me that easy_install uses a download tool that is not recognized as supported browser, resulting in a HTML error message:

Downloading http://rdflib.net/rdflib-3.2.0.tar.gz
error: Unexpected HTML page found at http://rdflib.net/rdflib-3.2.0.tar.gz

Comment 2 by wwai...@gmail.com
Not so sure about that. Pointing a web browser (chrome)
at http://rdflib.net/rdflib-3.2.0.tar.gz redirects to the HTML
page as well.

Probably fixing the download url in setup.py is best...

Will probably have to roll a 3.2.1 to make pypi happy though.

Should I apply this patch:

diff -r 969dc0268a25 setup.py
--- a/setup.py	Fri Jan 20 12:25:54 2012 +0000
+++ b/setup.py	Fri Jan 20 16:29:56 2012 +0000
@@ -96,7 +96,7 @@
the very latest, you may want the development version instead:
http://rdflib.googlecode.com/hg#egg=rdflib-dev
""",
- download_url = "http://rdflib.net/rdflib-%s.tar.gz" % version,
+ download_url = "http://rdflib.googlecode.com/files/rdflib-%s.tar.gz" % version,
packages = ['rdflib',
'rdflib/plugins',
'rdflib/plugins',

Comment 3 by eik...@eikeon.com
I've removed the download_url bit as it's not needed since we're uploading the .tar.gz to PyPi.

I also changed the url to point directly to http://code.google.com/p/rdflib/ instead of relying on a couple redirects to get there.

Great work all on the release!! There's a few more bits we probably can update in setup.py to better reflect the present.

Comment 4 by gromgull
I edited the download url on pypi, now easy_install should work.

I think as long as easy_install now works, there is no reason to push 3.2.1 in a hurry? Maybe some other issues will pop up in the next days/weeks.

Comment 5 by egon.wil...@gmail.com
Yeah, easy_install works for me again. Thanx!