[01:02:47] <dstufft> srid: also you can just create your own session object, it's in pip.download.PipSession
[01:04:57] <srid> dstufft: thanks ... now it seemed to work (took a few seconds to run), but still prints "pip.exceptions.DistributionNotFound: No distributions at all found for appdirs"
[01:05:02] <srid> ill try the PipSession thing now
[01:05:37] <Ivo> srid: btw pip doesn't advertise itself as having any stable api
[18:57:05] <gauravb7090> I just figured out that many packages listed on the https://pypi.python.org/pypi?%3Aaction=index dont have complete info like the download url and description
[18:57:47] <gauravb7090> for instance https://pypi.python.org/pypi/pysheet/0.3.6 --> https://pypi.python.org/pypi/pysheet/0.3.6/json doesnt have a download url
[18:59:48] <gauravb7090> so how does pip does all the installing?
[19:00:07] <gauravb7090> now it uses the xmlrpc api if I'm not wrong?
[19:00:29] <Ivo> the download url is informational only 98% of the time
[19:00:31] <gauravb7090> is there a canonical source of data also present?
[19:01:05] <gauravb7090> so how does it work actually?
[19:01:15] <Ivo> you can see the urls it downloads from in the releases object
[19:02:09] <gauravb7090> then the normal make configure and install approach after downloading?
[19:02:29] <Ivo> whats your end goal asking these questions
[19:02:38] <gauravb7090> what about the additional dependencies if any?
[19:03:35] <Ivo> pip will analyse the package it downloads for dependencies and install those, and then install the package
[19:04:17] <Ivo> if its an sdist it will invoke setuptools to install the package
[20:24:39] <Ivo> like the --without-ensurepip module just stops you from using a bundled pip as a system tool, right, it doesn't remove it from being installed into venvs?
[20:34:36] <Ivo> https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1290847/comments/18 I don't get why anyone would want to make so much work for themselves
[20:50:52] <Ivo> if debian has to build things from source wtf does it do with virtualenv
[21:41:34] <xafer> hello, I'm trying to understand the internals of pip and I'm stuck on the "unpack_*" functions:
[21:42:36] <tomprince> Ivo: It probably slipped past them for virtualenv, and they rather address that too.
[21:42:50] <xafer> why is unpack_file dealing with subversion: https://github.com/pypa/pip/blob/develop/pip/util.py#L628 while there exists unpack_vcs_link here: https://github.com/pypa/pip/blob/develop/pip/download.py#L358
[21:43:49] <tomprince> Maybe I dreamed this, but I have a recollection of a distro that has pip and setuptools install the associated virtualenv_support files, and then virtualenv depends on them.
[21:44:04] <Ivo> xafer: probably because it doesn't have a good separation of concerns and could be rewritten
[21:46:34] <xafer> Ivo, that's what I'm wondering. Because it seems that unpack_file do accept html files containing info on a subversion repo: is it really an usecase ??
[21:51:21] <Ivo> tomprince: well if they want to go through the pain of rewriting vendoring scripts for the sake of not having zips of source code then I want to make sure they're not skimping out on it
[21:52:50] <dstufft> they aren't doing that exactly anymore
[21:53:02] <dstufft> they are doing something equally as janky but differently so