[00:42:28] <dstufft> because the things in a setup_requires might change the meaning of a setup.py
[00:42:53] <Ivo> wait but you have to interpret a setup.py to inspect the contents of setup_requires
[00:42:53] <dstufft> for instance, if you're using pbr your setup.py looks like this https://github.com/stackforge/python-barbicanclient/blob/master/setup.py
[00:43:19] <dstufft> well setuptools installs it before it actually executes the setup() function
[01:36:48] <Ivo> dstufft: just use pip to install all setup_requires packages?
[01:37:11] <dstufft> Ivo: that's what i'm going to do, but this is inside of a subprocess so I have to pass all of the configuration options into the subprocess
[01:43:42] <Ivo> the bigg problem is build and require and fetch and configure and compile are all strewn about the place in two or three or four different tools T_T
[01:59:45] <Ivo> oh that's some newish thing he's working on
[02:01:26] <Ivo> dstufft: even if it's distlib-rewritten, or distlib-stripped-down, I do think some package of all this common code implementing common functionality would be useful
[02:02:17] <Ivo> unless setuptools should vendor in wheel eventually... :)
[02:27:42] <Ivo> qwcode: considered putting in a PR to amend: "...tool for installing, uninstalling, listing and showing Python packages, and freezing them too!!"
[02:41:30] <Ivo> dstufft: you've already documented setuptools' deficiency - "pip has no way to control how these dependencies are located. None of the Package Index Options have an effect."
[02:41:49] <Ivo> now imo you're selectively trying to fix one them
[02:42:05] <dstufft> Ivo: no i'm trying to fix all of them
[02:42:17] <dstufft> pip is taking complete control of setup_requires
[02:42:35] <dstufft> it's going to use the PackageFinder
[02:42:51] <Ivo> well at least that's consistent :P
[02:43:21] <dstufft> "You can't document your way out of a usability problem"
[02:44:26] <Ivo> there are different approaches to coding your way out, though
[02:47:02] <dstufft> anything that requires modifying setuptools means it'll be 3.2+, there are lots of people still using 0.6
[02:47:10] <dstufft> (because their package manager forces them too)
[02:47:55] <Ivo> bit their problem won't be fixed until they use pip 1.[5/6].x, and their package manager probably won't provide them with that either
[02:48:12] <Ivo> and if they can do pip install -U pip why not pip install -U setuptools
[02:48:37] <dstufft> because stuff in say apt-get depends on setuptools, so it's likely they have setuptools already installed
[02:49:08] <dstufft> e.g. it's infeasable to not have setuptools installed by the Os package manager
[02:49:22] <dstufft> and if you upgrade it with pip, then you get dueling package managers
[02:49:48] <dstufft> which might either break completely, or just silently go back to the old behavior
[02:50:07] <dstufft> nothing depends on pip, so it's a lot easier to manage that completely outside of the OS package manager
[02:50:44] <dstufft> when pip 1.5 came out, it started out having a hard dependency ons etuptools 0.8+ (this was when 2.1 was the latest setuptools version)
[02:50:48] <dstufft> and it broke the world for a ton of people
[02:51:33] <Ivo> imagine how many people could have up-to-date setuptools now if it continued to break the world :3
[02:54:05] <qwcode> Ivo, "and building wheels for dependencies"
[02:58:30] <Ivo> dstufft, qwcode if i were to try letting pip list installed files from wheels, do you think <pkg>.dist-info/installed-files.txt would be the best place to list that
[02:59:35] <Ivo> i.e, 'same place as it was for .egg-info'; or do you think that's 'dirtying' the .dist-info folder
[03:00:01] <qwcode> Ivo, should use RECORD I think
[03:02:01] <qwcode> dstufft, pretty sure pip-1.4 started the setuptools 0.8 requirement. but I guess turning on wheels by default made it more noticeable
[03:02:25] <dstufft> qwcode: right, with pip1.4 you only needed that if you utnred on --use-wheel or executed pip wheel
[03:02:32] <dstufft> with 1.5 you needed it to do anything
[06:24:08] <dstufft|laptop> just sitting on the couch
[06:34:04] <Ivo> dstufft|laptop: do you have a user auth token for warehouse? (assume not for pypi)
[06:34:27] <dstufft|laptop> there's no user auth in warehouse at all yet
[06:35:48] <Ivo> dstufft|laptop: my actual bug is - i have to put a password in ~/.pypirc. I would much rather put a random token in there, so that I can keep a password I can remember to log in, but not have to have it plaintext on my filesystem
[06:36:25] <dstufft|laptop> twine lets you specify the password on the command line instead of in your pypirc
[06:37:07] <Ivo> half-way there, but still making me enter a password every time i interact with pypi on the command line
[06:37:42] <Ivo> does twine have the register command?