[12:23:00] <av__> lets say I have done pip install django... and it also has installed django-something.... so I only want django and I dont want django-something to be in pip freeze
[12:23:43] <apollo13> yes, but what if you say "pip install django django-something" the latter has a dependency to the former
[12:23:51] <av__> should pip freeze --no-dependecies now list django or not..... it should list django, since I have done pip install... but not django-somehting, cos I never did pip install of it
[12:24:07] <av__> yes, but what if you say "pip install django django-something" the latter has a dependency to the former.... then yes, cos I did ask pip to install it
[12:24:27] <av__> basically to keep track of pip installs
[12:24:40] <apollo13> so you don't want something like --no-dependencies but rather a concept of automatical installs
[12:50:19] <pf_moore> av__ Just commented on the issue, but that info isn't available. PEP 376 proposes maintaining it, but no installer actually does so.
[12:51:15] <av__> okay.. if such info is not available then may pip can start tracking it?
[12:51:48] <pf_moore> the problem is that if you install from source it's not pip that does the install, but setuptools/distutils.
[12:52:14] <pf_moore> You need to get a change into setuptools to record that data, *then* pip could use it
[12:52:57] <pf_moore> And anyway, the status of PEP 376 is dubious at best, bits of it are implemented, others aren't
[12:54:50] <pf_moore> av__ re the freeze --user thing, no problem, it was an interesting exercise. Gone into develop now, so should be available when pip 6.0 comes out
[12:57:47] <av__> why not pip maintain a extra file to hold all the pip install data?
[12:58:34] <av__> I don't know inner workings... but lets say whenever you do 'pip install django', why not write django to a file first and then do usual pip routine?
[13:39:02] <pf_moore> 1. pip doesn't actaully do the install, it just runs "setup.py install"
[13:39:32] <pf_moore> 2. There's no suitable "central place" that pip could put this (it should be per-installation but site-packages may not be writeable)
[13:40:01] <pf_moore> 3. The standards are based around distribution data being per-project in the dist-info file, not centralised
[13:40:53] <pf_moore> Essentially, each installed project maintains its own metadata (in dist-info) so that any tool can work with projects installed by any other tool