[03:55:30] <_habnabit> now it looks like pip is ignoring my --build directory? InstallRequirement.build_location seems to think it can just mkdtemp anywhere and it'll be ok
[08:25:35] <tomprince> ronny: Have you seen the work that lifeless has done in pip, for handling setup_requires in pip?
[08:28:01] <ronny> tomprince: not really, but what i have in mind would probably makes his stuff a lot more simple
[08:28:54] <tomprince> Well, it has already landed (but hasn't been released).
[08:29:05] <tomprince> It reads setup_requires from setup.cfg
[08:29:41] <ronny> tomprince: ah, that, but does that work with normal setup.py?
[09:41:32] <nanonyme> ronny, https://github.com/nanonyme/syscertifi/blob/master/setup.py probably got it wrong
[09:42:07] <ronny> nanonyme: completely wrong, thats a named extra, not a environment marker dependent extra
[09:42:38] <ronny> the extra name should be something like ':sys_platform == "win32"' i think, please check out the docs on environment markers
[10:44:13] <nanonyme> ronny, can't find anything like that in Google nor in docs
[10:44:36] <nanonyme> Nor in setuptools docs internal search
[10:50:55] <ronny> nanonyme: docs suck a bit, see https://bitbucket.org/pytest-dev/pytest/pull-request/269/add-support-for-building-proper-wheels/diff for examples
[10:56:01] <nanonyme> So like this https://github.com/nanonyme/syscertifi/blob/master/setup.py
[10:56:47] <nanonyme> Could I also split https://github.com/nanonyme/syscertifi/blob/master/certifi.py by environment markers so that I can define the two functions in different files, one for Windows and one for others?
[11:07:52] <nanonyme> dstufft, there was just yesterday someone complaining on #python how they couldn't get pip to read certs from certificate store on Windows. syscertifi is a platform-independent solution for this
[11:08:47] <nanonyme> (very little original code, just combining what already exists)
[12:29:30] <Sublime_> is there a way with pip to download a package source but not install it ?
[15:51:45] <ztane> which way should I use to get both maintainer and author properly in PKG_INFO from setup(); if I have maintainer and author, the maintainer becomes the author in PKG_INFO if I use setup from setuptools
[15:53:42] <ztane> yet pypi has maintainer and author separately
[15:54:34] <_habnabit> tomprince, for compatibility, would you have to declare your setup_requires in setup.py and setup.cfg both?
[16:02:11] <_habnabit> ok so i'm still having trouble getting everything to play nicely with everything else. i'm trying to run gcov over my C code, and afaict gcov /requires/ that the .c files exist in the same place that they existed when you ran the C compiler over them. i'm using tox to install my package, and the end result seems to be that even with `pip install --no-clean --build ...` the directory where the .c files were
[16:02:11] <_habnabit> built is being put in /tmp and getting deleted. does anyone have any idea how to solve this?
[16:09:47] <ionelmc> _habnabit: for coverage measurements you have two options: develop mode (usedevelop=true in tox.ini i think) or having path aliases in coveragerc
[16:10:20] <_habnabit> ionelmc, this is gcov, not coverage.py
[16:11:01] <ionelmc> _habnabit: stuff like this seems to work https://github.com/ionelmc/python-lazy-object-proxy/blob/master/tox.ini#L165-L174
[16:11:40] <_habnabit> ionelmc, py.test knows about gcov?
[16:11:40] <ionelmc> _habnabit: eg, you can see here the C ext being measured https://coveralls.io/builds/2315712
[16:11:51] <ionelmc> i have an env that merges the C coverage
[16:58:42] <DanielHolth> OK, you may just have to override the pkg-info writer
[16:59:46] <DanielHolth> Prototype of wheel installer including more paths in data and "write install scheme to installed package": https://bitbucket.org/dholth/wheel/commits/all
[17:00:07] <DanielHolth> Way to generate wheels containing those extra categories pending
[17:04:18] <ztane> it is like double-wtf, if I go to pypi to do the manual registration, there is both maintainer and author fields there
[17:05:24] <ztane> in this case (python-Levenshtein), I am the maintainer but I do not think it is appropriate to list me as the author since the author wrote about 100 % of the functionality :D
[17:06:36] <ztane> I think I will comment here: http://bugs.python.org/issue16108
[17:35:23] <Wooble> I probably could have written a patch to implement PEP 345 in the time I just spent unsuccessfully trying to figure out why it hasn't been implemented yet.