[12:12:05] <dstufft> rchekaluk: it doesn't work with setuptools?
[12:12:29] <rchekaluk> dstufft, Will probably try that, just was trying to not alter an existing provisioning script
[12:12:35] <dstufft> there might be one on bitbucket
[12:12:42] <dstufft> that's where distribute was developed
[12:13:08] <rchekaluk> dstufft, Thx for the response and info
[18:30:22] <pf_moore> dstufft: you pinged? (some time ago...)
[18:32:07] <dstufft> pf_moore: oh, I was going to ask if virtualenv and venv on Windows make bin dirs or Scripts dirs and if it's called python or python.exe inside them
[18:37:50] <pf_moore> tomprince: there's a few things around, all having varying degrees of success
[18:38:04] <tomprince> vex is actually what I was thinking of.
[18:38:53] <pf_moore> dstufft: yeah, really we're trying to do a user's shell environment management for them, and doing that without getting shell-specific is messy
[18:40:00] <pf_moore> Problem with "run a command inside a venv" is that it's easy to forget
[18:40:24] <pf_moore> "pip install numpy" followed by "oops, meant to do that in a venv, not in the system Python" :-(
[18:40:32] <pf_moore> happened to me far too many times
[18:44:36] <dstufft> this thing makes it so you can prefix anything with pvr exec and it'll run inside the venv
[18:45:43] <pf_moore> tomprince: vex actually looks quite nice. I may give it a try
[18:46:04] <tomprince> dstufft: That is exactly what vex does.
[18:46:44] <pf_moore> there are Windows examples given, which makes me think it might work there as well, which is why it interests me
[18:49:58] <dstufft> tomprince: yea this is a PoC thing
[18:50:03] <dstufft> me messing around early this morning
[18:54:17] <pf_moore> Actually, I'd be much happier if the activate scripts were *all* reduced to a bare minimum, just setting the PATH. Let users set prompts themselves. I have no idea how to do that in a backward compatible (i.e., wouldn't make people scream blue murder) way, though.
[18:54:42] <pf_moore> I'll probably just stick to writing my own Powershell functions, and abandon activate altogether...
[18:57:30] <dstufft> I think the problem with not setting the prompt is otherwise it's confusing if you're in the env or not
[19:00:36] <pf_moore> yes, I agree, but people have custom prompts and the way we set it can conflict
[19:00:57] <pf_moore> At least we should have "activate --no-prompt" or something...
[19:02:26] <pf_moore> My powershell prompt detects an active venv and includes the name automatically (by checking if $env:VIRTUAL_ENV exists)
[19:02:44] <pf_moore> So I normally get the venv displayed twice...
[19:54:28] <pf_moore> dstufft - Windows does horrid things that will make you cry if you try to get pvr working there. See https://github.com/sashahart/vex/issues/20 for how it affects vex...
[19:56:28] <DanielHolth> so how do you tell powershell it's allowed to run .bat files?
[20:00:08] <pf_moore> DanielHolth: it does automatically by passing them to cmd - although that means any env variables set in the bat file are forgotten afterwards
[20:00:35] <pf_moore> So they work much more like Unix shell scripts under powershell (which is overall a good thing IMO)
[20:28:43] <DanielHolth> pf_moore my powershell had a permissions / security toggle set that disallowed them
[20:37:51] <dstufft> is powershell like the bash on windows