[00:13:09] <tclugg> The current state of virtualenv/pip/setuptools/tox support for "PEP-0496 - Environment Markers" (https://www.python.org/dev/peps/pep-0496/) is infuriating because various tools don't work like they should. </rant>
[00:22:22] <tclugg> add `wheel` to the above list of suspect packages.
[00:32:01] <zahlman> (I wonder if part of the problem is that setuptools seems designed to wrap distutils, rather than refactor and fix it.)
[02:24:01] <zahlman> Is ez_setup.py still a thing? Can I tell it somehow to determine the latest version of setuptools and grab that, rather than a default specified in the script or something explicitly passed in?
[03:31:59] <tclugg> zahlman: I don't know, except that https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py exists and has setuptools version 18.7.1
[03:46:35] <tclugg> ...and of course 18.7.1 is the current version. So the implied answer is yes.
[04:20:52] <zahlman> tclugg: and the second question?
[05:57:21] <ionelmc> zahlman: it's not a thing anymore, if you install the package with pip you are guaranteed to have setuptools already installed
[07:00:39] <tclugg> zahlman and ionelmc: Yes, but not necessarily the version of setuptools you need.
[07:01:20] <tclugg> eg: the current version of virutalenv only ever installs setuptools 0.18.2
[07:10:23] <tclugg> question: How do I have setup.py use an external tool (eg: `meteor build ...`) when building binary distributions that should include "compiled" package data?
[07:11:18] <tclugg> I'm trying to remove compiled javascript and CSS from my source repo
[07:11:31] <tdsmith> there's probably advice on using cython that applies here
[07:13:13] <tclugg> tdsmith: thanks, any pointers? I'll start searching regardless...
[08:06:13] <ronny> tclugg: ez_setup is a hack that is supposed to be vendored into a sdist
[08:06:51] <ronny> tdsmith: build tool integration of extrenal building is subpar due to the early design mistake of making the actual building part of distutils
[13:56:21] <ronny> jaraco: could you perhaps vocie a oppinion on the setup.py install --pip discussion in distutils-sig, i answered rash myself, and would like to see a statement from you
[14:00:52] <jaraco> Hi ronny. I won’t be able to get to that until later this week.
[14:02:57] <jaraco> I’ve set something on my calendar to look at it Friday.
[14:03:31] <ronny> wow, calendar for reading mailing lists seems excessive from the outside
[14:03:47] <jaraco> It’s even more excessive from the inside.
[14:04:09] <jaraco> There are outstanding regressions in the latest release of setuptools that need to be addressed.
[14:04:10] <ronny> jaraco: any oppinion on providing a setuptools mode that completely disables easy_install, im considering to try implementation until christmas
[14:04:31] <jaraco> I’d rather see a convergence of easy_install and pip.
[15:07:16] <ronny> jaraco: given the upcoming build tool pep, why not slwly turn easy_install into a opt out until pip can take over setup requires, install requires and actual installation
[15:08:04] <ronny> as for pip #3, its impossible to fix without encapsulated installs or a different develop install mechanism
[15:09:37] <jaraco> I’m not sure - there’s an open discussion in the complementary setuptools ticket that might address it with .nspkg.pth
[15:09:55] <jaraco> But you’re right - encapsulated installs is something that pip doesn’t support very well.
[15:29:51] <ronny> jaraco: pip explicitly killed them, and imho thats a big loss
[15:30:50] <jaraco> A substantial portion of the community concurs, which is why the switch to pip is non-obvious.
[15:31:16] <tos9> what is "encapsulated installs"?
[15:31:23] <tos9> installing somewhere besides site-packages and using .pths?
[15:39:40] <ronny> tos9: egs where never on sys.path by default, you could aways have multiple versions of a package installed and pick a workingset
[15:39:56] <ronny> tos9: prolbme was, that was confusing, hard, and then the pth hack was on top
[15:40:10] <ronny> additionally it was only suitable for application servers due to startup time
[15:40:33] <ronny> (having 300 zip files on sys.path is a hazard for the import system)
[20:30:26] <zahlman> I have a setup.py that extends setuptools.command.install to do extra configuration work after the basic installation, interactively. When it calls `input` (3.x), it waits for input, but the prompt message doesn't appear until after the user hits enter. Do I just hack around this?
[20:55:04] <agronholm> zahlman: pip may be redirecting the output -- the install command wasn't made to be abused like this
[22:31:50] <ionelmc> for me it was horrendously broken
[22:32:09] <ionelmc> broken on windows, broken on ubuntu, broken on py3
[22:40:39] <tclugg> ionelmc: I don't disagree with you, it *is* broken in many regards. But it still *works* out there in the real world, installing django + django-rest-framework + ... on millions of servers, every single day.
[22:47:45] <ionelmc> tclugg: there's a reason technical debt is so frequent in the industry ;-)
[23:03:40] <zahlman> ... what are the most obvious/blatant breakages in virtualenv? Now you have me worried...
[23:07:33] <tclugg> zahlman: It installs vendored versions of setuptools, pip, wheel and argparse. A bunch of issues for the default OSX python install. Windows issues. Python 3.5 issues.
[23:09:51] <tclugg> zahlman: vendored -- a package included in the source that is maintained by someone else. For virtualenv vendored packages, here is the list: https://github.com/pypa/virtualenv/tree/develop/virtualenv_support
[23:18:30] <tclugg> I don't mind it where necessary, but supporting unsupported python releases seems silly.
[23:20:32] <tclugg> I suppose you could argue that LTS versions of RedHat or similar might have old versions of Python, but I'd suggest that would be a problem for the LTS package maintainers -- they're not going to use the latest version of virutalenv by definition, right?
[23:32:07] <ionelmc> tclugg: zahlman: the bundled argparse is not a problem is it? it only gets installed if necessary
[23:35:02] <ionelmc> zahlman: there's some discussion here if you want to know about the "root problems" https://github.com/pypa/virtualenv/pull/697
[23:39:35] <tclugg> ionelmc: that link is *gold*, thanks!
[23:40:17] <ngoldbaum> man, that PR discussion makes me sad. I wonder if there's a way forward there.
[23:44:14] <zahlman> ...wow, and that's from almost a year ago
[23:44:31] <zahlman> what exactly is `click` in this context?