[02:46:18] <dstufft> that might be a sphinx extension
[02:47:27] <qwcode> virtualenv appears to have a stray .. comment:
[02:48:05] <qwcode> gotta run atm though... be back on in a few hours...
[02:57:53] <qwcode> dstufft, actually, back how did you update virtualenv's pypi page?
[02:58:11] <dstufft> qwcode: I made the same modification locally and ran setup.py register
[02:58:59] <qwcode> dstufft, is it safe to just edit the description in pypi to confirm what's the problem? I'm editing virtualenv now, but have never done that before
[02:59:45] <dstufft> I've never actually used the web ui heh
[03:00:40] <Ivo> what happened to this patch? http://bugs.python.org/issue12169
[03:00:58] <qwcode> ok, pip page is fixed. it was the :doc: reference.
[03:01:52] <qwcode> dstufft, ^ I'll fix in develop and 1.5.X inclined to remove the quickstart from the long description if it means it has to be dumbed down
[03:02:24] <dstufft> qwcode: might make sense to make README.rst a nice landing page for both github and PyPI
[06:30:35] <qwcode> dstufft, yes, we could compare if it's different than pip.locations.build_prefix. that's probably ok. if someone is pinning the build_dir in the config file for some reason, the message could get annoying, but they are the people we are trying to inform
[06:31:22] <Ivo> you could use nargs='?'; if its just --build, it can be set to True, in which case you can set it to build_prefix; if it has an arg, you can set it directly to that
[06:33:31] <qwcode> Ivo, I don't follow. I think it's just a matter of asking whether options.build_dir != pip.locations.build_prefix in the install command
[06:34:37] <qwcode> pip.locations.build_prefix is the default
[06:34:51] <dstufft> qwcode: sounds like the plan to go forward for me
[06:35:00] <dstufft> add something in the changelog too plz
[06:35:15] <Ivo> well you have three use cases; 1. no build_dir, which will become default; 2. build_dir is default build_prefix; 3. build_dir is a custom path. If you used, say [False, None] as sentinal values you could check for both 1. and 2. in 1.5.x
[06:35:17] <qwcode> dstufft, you mean the default check? or leave it?
[06:45:12] <qwcode> Ivo, you're concerned that we should log the warning, if they happen to set it manuallly set it to the default?
[06:46:04] <Ivo> qwcode: you could set it to None, but give them the option to set it to the previous default, if they relied on that
[06:47:06] <qwcode> Ivo, set it to None? we use the default value
[06:47:42] <Ivo> e.g it starts off as None; if user passes --build, its set to default, if they pass --build <x> its set as that
[06:48:40] <Ivo> was just trying to think of a way to give many options for people
[06:52:46] <qwcode> Ivo, our idea is that the build dirs should have never been fixed, and there's no reason for people to control the location, so wanting to get rid of all this, and use tmp build dirs
[17:24:53] <apollo13> actually it looks like it fails as soon as the wheel is built from a src tar as compared to a git checkout, no idea why yet
[17:25:15] <apollo13> I can upload the created wheel it looks half sane
[17:28:18] <jezdez> apollo13: could you describe the issue for the others?
[17:28:59] <apollo13> the issue appears (at least from what I can tell) to be that a wheel generated from the django sdist installs data files into the virtualenv root, whereas when I generate a wheel from the git checkout it works fine
[17:30:14] <dstufft> apollo13: git checkout of the same code?
[17:30:22] <apollo13> hmm no, there seems to be something else missing, the git checkout now has the same error
[17:30:30] <apollo13> damn, I just created a functional wheel before
[17:31:49] <apollo13> dstufft: actually yes, but it gets even worse
[17:36:45] <dstufft> because django override the datafiles location with the purelib location
[17:36:59] <apollo13> so why doesn't it work then :þ
[17:37:23] <dstufft> because a Wheel doesn't execute setup.py?
[17:37:52] <dstufft> it works when you do setup.py install because Django's setup.py monkeypatches distutils to tell it to put datafiles inside the PURELIB directory
[17:39:04] <dstufft> ^ that's what Django should be using
[17:39:36] <dstufft> also if you switch to package_data
[17:39:49] <dstufft> then https://github.com/django/django/blob/1.4.10/setup.py#L7-L43 and https://github.com/django/django/blob/1.4.10/setup.py#L62-L66 can be deleted too
[17:40:12] <apollo13> well in master it's already setuptools and I had package_data there
[17:40:30] <qwcode> apollo13, you seen this? https://bitbucket.org/dholth/wheel/issue/80/wheel-does-not-install-data_files-in-site
[17:41:09] <apollo13> qwcode: nope, but that explains a lot :)
[17:41:42] <qwcode> apollo13, this is another wheel difference too https://bitbucket.org/dholth/wheel/issue/92/bdist_wheel-makes-absolute-data_files
[17:42:39] <apollo13> jezdez: I found the issue in django
[17:44:09] <apollo13> which got me confused now, cause I added the Makefile just for bdist_wheel in the first place, hence I thought I backported wheel stuff to 1.4
[17:53:05] <dstufft> https://gist.github.com/dstufft/9139344#file-virtualenv-tree-L21-L22 here is data file being installed to root
[18:08:52] <qwcode> dstufft, as for absolute paths, there's what should be, and then there's the concern that bdist_wheel (as setuptools extension) behaves very differently than setuptools
[18:09:07] <dstufft> qwcode: I mean we should reject it and fail
[18:09:36] <dstufft> but letting random packages put absolute paths in is a security issue
[18:10:02] <dstufft> sudo pip install something -> downloads a Wheel which overrides your /etc/hosts
[18:10:56] <qwcode> dstufft, I mentioned making bdist_wheel fail for absolure paths in the issue description, so I agree, but my concern was more about wheel doing something inconsistent with setuptools, vs security
[18:11:32] <dstufft> I meant to be saying that I agree with the idea that we fail on absolute paths
[18:12:15] <qwcode> dstufft, I'm guessing many people rely on setuptools allowing absolute data_file paths.... for wheel just to stuff those files somewhere else, is odd. better to fail, so people can know to package differently
[20:29:55] <qwcode> dstufft, on a related note, our Authors files is hard to maintain, because it's not just a simple list of authors from commits. it has alternative names, due to older times, where people were asked to add themselves. thinking it should just be an automated deal from commit names