[EMAIL PROTECTED] wrote:
> that is really weird, i am doing a clean install on this machine.
>
> I got dev version of (setuptools now =0.6a9dev-r41761)
>
> I got pass element tree and PasteScript but failed at json-py
>
> Processing dependencies for TurboGears==0.9a0dev-r341
> Searching for json-py>=3.2.1
> Reading http://www.python.org/pypi/json-py/
> Couldn't find index page for 'json-py' (maybe misspelled?)
> Scanning index of all packages (this may take a while)
> Reading http://www.python.org/pypi/
> No local packages or download links found for json-py>=3.2.1
> error: Could not find distribution for
> Requirement.parse('json-py>=3.2.1')
>
> it is true the URL doesn't exist anymore, the new URL is
> http://www.python.org/pypi/python-json I changed it in setup.py but it
> still couldn't find it
>
> Processing dependencies for TurboGears==0.9a0dev-r341
> Searching for python-json>=3.2.1
> Reading http://www.python.org/pypi/python-json/
> Reading http://sourceforge.net/projects/json-py/
> No local packages or download links found for python-json>=3.2.1

The PyPI page for this project doesn't include any direct download
links, nor does it include a home page or download URL with links to
the package. Please ask the author if they would change their download
URL to point to a page with direct download links, such as their
sourceforge "files" page, e.g.:

    http://sourceforge.net/project/showfiles.php?group_id=137891

EasyInstall isn't a general-purpose web spider; it only scans for links
on PyPI pages, plus the "home page" and "download URL" listed on PyPI.
This keeps it from wandering all over the web looking for packages.  :)

In the meantime, I'd suggest you use the -f or --find-links option to
easy_install to supply the missing URL, e.g.:

    easy_install -f
http://sourceforge.net/project/showfiles.php?group_id=137891 json-py

Oh, wait, that doesn't work, because the author didn't include a
setup.py.  Not only that, the PyPI listing is for "python-json", even
though the project name is "json-py".

Okay, so json-py's distribution is completely  fouled up.  The only way
it's going to work with easy_install is if:

1. It gets a setup.py
2. It gets registered with the its *own* name on PyPI
3. It has a link from PyPI either directly to downloadable files or to
a page with links to downloadable files.

Either that, or somebody else needs to create their own packaging of
this with another name, that fixes the above three issues.  Or, maybe a
switch to Bob Ippolito's simple_json is in order?  His package is
actually downloadable from PyPI as source or eggs.

I know Kevin has a json-py packaging on turbogears.org; it would
probably be a good idea for him to either rename it and put up a PyPI
listing, or ditch it and go with a package that at least uses the
distutils.

Reply via email to