Re: [Distutils] Get dependencies of a package without full download

2015-04-02 Thread Nick Coghlan
On 2 Apr 2015 21:05, "Daniel Holth" wrote: > > We should do a mode where dependencies come from setup.cfg statically and everything else (setup.py build script) works the same. I believe that's what Robert Collins pip PR is aimed at providing. It's still quite limited, as the vast majority of pro

Re: [Distutils] Get dependencies of a package without full download

2015-04-02 Thread Daniel Holth
We should do a mode where dependencies come from setup.cfg statically and everything else (setup.py build script) works the same. On Apr 2, 2015 7:02 AM, "Nick Coghlan" wrote: > On 2 April 2015 at 20:27, Thomas Güttler > wrote: > > I hate the "ORs" and "IFs" in the python packaging world. > > >

Re: [Distutils] Get dependencies of a package without full download

2015-04-02 Thread Nick Coghlan
On 2 April 2015 at 20:27, Thomas Güttler wrote: > I hate the "ORs" and "IFs" in the python packaging world. > > Can't it be done "condition less"? Unfortunately, that's currently only possible for programming languages tailored primarily for a specific usage domain and with relatively young packa

Re: [Distutils] Get dependencies of a package without full download

2015-04-02 Thread Thomas Güttler
Am 01.04.2015 um 20:20 schrieb Donald Stufft: The answer to this is technically yes, but realistically no. If you build Wheels and you upload a Wheel *first* and you use twine to do so, then you will register the dependency information with PyPI and that will be available in the JSON API. If y

Re: [Distutils] Get dependencies of a package without full download

2015-04-02 Thread Vinay Sajip
From: Daniel Holth > Vinay Sajip was maintaining metadata as described here, I'm sure there are > functions > in distil to help fetch it. Yes, though there is no need for any special API to access it - the metadata is in JSON files served statically. You just make a standard HTTP request, us

Re: [Distutils] Get dependencies of a package without full download

2015-04-01 Thread Daniel Holth
Vinay Sajip was maintaining metadata as described here, I'm sure there are functions in distil to help fetch it. http://distil.readthedocs.org/en/latest/packaging.html#packaging-metadata. The most severe problem with this data is of course that it is not always correct because the environment he e

Re: [Distutils] Get dependencies of a package without full download

2015-04-01 Thread Donald Stufft
The answer to this is technically yes, but realistically no. If you build Wheels and you upload a Wheel *first* and you use twine to do so, then you will register the dependency information with PyPI and that will be available in the JSON API. If you upload a sdist first (or you type setup.py regi

Re: [Distutils] Get dependencies of a package without full download

2015-04-01 Thread Barry Warsaw
On Apr 01, 2015, at 04:14 PM, Thomas Güttler wrote: >Is it possible to get the dependencies of a package without full download >from pypi? It would be kind of nice if you could get the package's metadata (e.g egg-info/entry_points.txt) out of its PyPI JSON blob: https://pypi.python.org/pypi/fluf

[Distutils] Get dependencies of a package without full download

2015-04-01 Thread Thomas Güttler
Hi, just out of curiosity: Is it possible to get the dependencies of a package without full download from pypi? If you want to build a graph of dependencies this would be nice, since it would reduce the network traffic a lot. Regards, Thomas Güttler _