[00:20:54] <mitsuhiko> dstufft: does virtualenv use pyenv machinery if available or are they separate?
[00:23:30] <dstufft> mitsuhiko: currently they are seperate, my plan is for in the future virtualenv will use the pyenv machinery if they are available, and then it'll use it's own machinery if not, and ontop of the actual isolation machinery it'll unify the API between them
[03:02:10] <Phagus> Okay, I'm trying to get Kivy to work within a virtualenv. I'm working on Arch Linux. There's an AUR entry for Kivy that works, but I want to use it in a Python2 virtualenv
[03:02:45] <Phagus> When I run `pip install kivy` within the virtualenv, it throws horrible exceptions
[03:03:03] <Phagus> I have cython and other Kivy dependencies installed within the virtualenv
[03:03:15] <Phagus> I'm also using virtualenvwrapper
[03:04:33] <Phagus> How can I use the AUR Kivy in my virtualenv?
[05:49:47] <ionelmc> Phagus: have you tried the --system-site-packages option?
[13:34:42] <dstufft> mitsuhiko: is there an easy way to test a click @command.group() function? I can't seem to figure out how to actually execute one, calling a subcommand via CliRunner().invoke() doesn't seem to execute the group command, nor does calling the group command via CliRunner().invoke(), and calling it directly wants to act like I'm calling it via the CLI
[13:46:14] <dstufft> so I'm just doing it wrong, ok!
[13:46:16] <mitsuhiko> eg: a command "foo" can exist twice, once below "x1" and once below "x2" for instance
[13:46:23] <mitsuhiko> dstufft: there are different things you can do however
[13:46:41] <mitsuhiko> if you want to test them in isolation you can have different ways to setup the context object (eg: pass it in preconfigured)
[13:47:10] <mitsuhiko> it's actually also quite possible to make the commands work completely in isolation of their parents with a bit of trickery
[13:47:30] <mitsuhiko> for instance i use make_pass_decorator with the ensure flag to lazily construct a custom context object
[13:47:40] <mitsuhiko> so each command as it passes execution downwards can modify the state of it
[13:47:59] <dstufft> yea I'm passing it in preconfigured right now in the subcommands, because they only rely on the group in order to setup an object, and I can just do CliRunner.invoke(..., obj=<preconfigured>)
[14:17:26] <mathieui> Hi, I come to report on https://bitbucket.org/pypa/setuptools/issue/137/typeerror-unorderable-types-str-nonetype (or https://github.com/pypa/pip/issues/2357 or https://github.com/pypa/pip/issues/2353)
[14:17:53] <mathieui> I’ve reached the conclusion that it only appears on debian and derivatives, from my tests
[14:27:02] <mathieui> for the record, I have an install script that creates (or upgrades) a venv, activates it, and then tries to install/upgrade dependencies for the current project; weirdly, the issue only appears the third time I run that script
[15:05:42] <mathieui> found what triggered it: installing the original stuff through the systems setuptools, and then having setuptools as a dependency, which would make it install the (way) more recent version from pypi
[15:06:18] <mathieui> and then somehow a subtle incompatibility exists, which causes the relevant traceback
[15:06:57] <mathieui> (that also explains why gentoo or archlinux aren’t hit, as the packaged setuptools is closer to upstream)
[16:17:44] <ionelmc> mathieui: it's caused by haveing multiple versions of the same package installed
[16:18:09] <ionelmc> and those versions have different install flags (whatever that is) - thus the compare error
[16:40:24] <can-of-bees> hi all. i'm trying to `pip install hgview` but getting an asciidoc error (it isn't installed). when i try to install asciidoc, pip can't find any downloads.
[16:40:58] <can-of-bees> is this a case where i should grab the source from the asciidoc homepage and build it?
[16:42:09] <apollo13> asciidoc doesn't seem to be on pypi, so…
[16:42:43] <apollo13> can-of-bees: you need to install it via your system package manager I'd say
[16:45:07] <can-of-bees> apollo13: i wasn't sure -- thought it was odd that it comes back in pip search and wanted to be sure i wasn't missing something. cheers!
[20:11:59] <_habnabit> what would it mean if pip is failing with 'Directory not empty: /path/to/virtualenv/build' ? it's happening on cleanup after pip says all of the dependencies successfully built. the build directory contains a bunch of non-empty subdirectories
[20:12:20] <_habnabit> i've never seen this failure before
[20:13:50] <_habnabit> python 2.7 on ubuntu 14.04; trying to figure out what version of pip it is
[20:17:29] <tomprince> I know the build directory stuff has changed signifigantly since them. I don't know the details. (It uses randomized build directories, rather than a fixed name, most of the time, for example.
[20:18:06] <_habnabit> i'll see if it's fixed in newer versions of pip
[20:36:09] <_habnabit> tomprince, haha, it's fine in newest pip