[01:21:25] <Alex_Gaynor> nullne: Apple decided to break stuff because reasons: https://github.com/pyca/cryptography/issues/834#issuecomment-38114705 explains how to fix it
[01:21:29] <nullne> Alex_Gaynor, do you have any idea?
[01:31:15] <nullne> Alex_Gaynor, it seems not work.same error came as always
[09:41:11] <sgo11> hi, with "pip install moin", it gives error: "Could not find any downloads that satisfy the requirement moin". but when i do "pip search moin", it returns "moin - MoinMoin 1.9.7 is an easy to use". why? thanks.
[09:44:55] <apollo13> sgo11: Some externally hosted files were ignored (use --allow-external moin to allow).
[09:45:32] <sgo11> apollo13, yeah, I saw that error. that is weird. I never use that argument before. in the past, I simply use pip install moin. why this changes?
[09:46:07] <apollo13> sgo11: pip considers externally hosted stuff as insecure
[09:46:30] <apollo13> + tries to consolidate everything onto pypi for higher availability
[09:48:04] <sgo11> apollo13, how can I exactly use pip install now? I tried "pip install moin --allow-external" and "pip install --allow-external moin". both don't work
[09:48:53] <apollo13> in this special case: pip install --allow-external moin --allow-unverified moin moin
[09:49:39] <sgo11> apollo13, this is crazy. I really hope I never upgrade my pip. thanks for your help.
[09:49:48] <apollo13> sgo11: that's not that crazy
[09:50:14] <apollo13> sgo11: you want your downloads a) to be reliable and b) to be secure
[09:50:29] <apollo13> letting pip download from arbritrary locations without checking any signatures is crazy
[09:50:53] <apollo13> in that case your download of moin is via http (!!!!)
[09:51:07] <apollo13> meaning, that installing moin alone can result in a compromise of your pc
[09:51:24] <sgo11> apollo13, ok. I just like the old way. :)
[09:51:51] <apollo13> you could always just ask the moin guys to upload their package to pypi
[17:33:36] <wsanchez> Is there a way to ask `pip install` not to try to remove existing packages that are being upgraded?
[17:34:03] <apollo13> wsanchez: curious, what else should it do?
[17:34:11] <apollo13> or rather, why not remove them?
[17:34:38] <wsanchez> Right so what I'm trying to do is install into a directory so that I can make an installable thing, ie using: --install-option --root="xxx"
[17:34:55] <wsanchez> And it's trying to remove the replace package in the OS.
[17:35:37] <wsanchez> Specifically I'm trying to install things into the Server.app package for Mac OS X Server.
[17:35:43] <apollo13> I am not sure it's a good idea to shadow a package like that, but you might wanna try using a venv
[17:36:12] <apollo13> as per your question, I am not really sure if it's possible
[17:36:24] <wsanchez> Yeah a venv would work but… wondering why I can't do that… perhaps I *can* do that…
[17:36:36] <wsanchez> apollo13: thought that might be the case, thanks.
[17:37:06] <wsanchez> I *could* call setup.py myself but that would mean uppacking the dependencies myself, which is no fun and pip knows how.
[17:37:48] <wsanchez> I'll try a venv. That's actually probably going to end up being a good thing on its own, thanks.
[18:01:13] <wsanchez> --ignore-installed works great for not monkeying with the installed stuff but then it tried to install them. I want my pie and I want to eat it but I want to hate it but…
[18:08:29] <dstufft> wsanchez: you might also just want --target
[18:39:44] <wsanchez> apollo13: I agree, but I don't know that you can fix it and stay compatible with BSD.
[18:40:02] <apollo13> wsanchez: you can't iirc, it would break existing scripts
[18:41:46] <wsanchez> You certainly have to support tokens (eg.: #!/usr/bin/env python). I guess you could add quoting and hope that there aren't existing shebang lines with paths containing '"'.
[18:42:19] <apollo13> right, quotes would work, but who uses spaces in paths anyways ;)
[18:44:10] <AndyRez> So I have been stuck with this error "distutils.errors.DistutilsError: Setup script exited with error: command 'cc' failed with exit status 1"
[18:44:19] <AndyRez> and nothing I have tried seem to work
[18:45:11] <AndyRez> I need help in updating scrapy
[20:23:16] <orzel> hello. Is there a way to tell 'pip' that a package is available in the path, but provided by something else than it ? Typically, i have some git/mercurial checkout for some projects and i dont want pip ot install corresponding packages, even though i want pip to act as if those were installed (when handling deps for other packages)
[20:23:48] <orzel> (as a side note, we have /etc/portage/profile/package.provided in gentoo for exactly this purpose)
[20:25:43] <Alex_Gaynor> orzel: seems like `pip install -e /path/to/stuff` would be what you want
[20:29:19] <orzel> Alex_Gaynor: er.. might be. Pip has no man page and pip --help doesn't mention -e.
[20:29:54] <Alex_Gaynor> -e is --editable, it basically means pip won't install it normally, it'll just make a symlink to your on disk code
[20:30:59] <orzel> and it wont install it then.. ? let's try that in a virtualenv
[20:33:45] <orzel> mm.... it tries to write to the path provided. fortunately it's read-only
[20:34:31] <wickman> it's possibly generating an egg-info metadata distribution, which writes into build/ i think
[20:34:44] <orzel> it tries to install it, i think. It's not what i want. Let's say package X in on pypy. I want to be able to say "just act exactly as if X version x.y.z" was already installed.
[20:35:52] <orzel> wickman: it tried to create a egg-info, indeed. Inside the path i provided after -e
[20:39:33] <orzel> seems like all -e does is kinda creating a file lib64/python2.7/site-packages/xxxxx.egg-link with a path inside
[20:39:40] <orzel> maybe i can trick pip with this
[20:42:55] <orzel> ok. So i copy the package out of the read-only stuff, i install -e it from (inside a virtualenv, just in case), i get a .egg-info i can copy to the readonly part, and then create this crossplatform link