PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Friday the 2nd of September, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[00:56:45] <c1b3r> Hello
[00:57:20] <c1b3r> I'm trying to set up django, nginx and uwsgi
[00:59:13] <c1b3r> following the official guide, uwsgi-docs.readthedocs.io/en/latest/tutorials/Django_and_nginx.html
[01:00:19] <c1b3r> I was wondering why if I can server the files using python manage.py runserver 0.0.0.0:8000
[01:00:25] <c1b3r> *serve
[01:00:58] <c1b3r> i can't serve this using uwsgi --http :8000
[01:01:28] <c1b3r> in the official guide says that there is a file calle xx.wsgi
[01:02:38] <c1b3r> Is there any way to generate the xx.wsgi file ?
[01:18:01] <c1b3r> Is it true that the setting.py and wsgi.py files couldn't be in the same folder
[01:40:49] <_matix> nanonyme: it might not be that hard but it's infrastructure i just don't need. it's not a question of whether it's hard, but whether it's necessary.
[01:49:21] <_matix> pombreda: creating wheels looks like a good solution for my problem. thank you!
[05:23:42] <Zppix> Hey
[08:40:19] <pombreda> _matix: :) I have examples of vendoring on github for instance in nexB/scancode-toolkit/thirdparty (install driven by the top level configure script and the etc/configure.py script) if that can help
[10:45:59] <ronny> dstufft: does pip have any way to download a requested package as wheel and tell the name of the resulting wheel file?
[10:48:53] <pombreda> ronny: afaik it sure cannot. you can select where the wheels go with pip download --destination-directory but this is it
[11:47:16] <tech2> Hi all, I've been using tox recently to build against multiple python versions. After a recent OS upgrade though now I get "ImportError: No module named 'pip'" when tox runs "/opt/py/projects/marketingcloudworker/.tox/py34/bin/pip install -rtests/test_requirements.txt"
[11:49:37] <tech2> For whatever reason pip doesn't seem to get properly installed in the venv and I don't know why. The short scripts are in the bin dir, but nothing found in the pythonpath. 2.7 builds still seem to work fine.
[12:13:18] <mgedmin> what version of virtualenv do you use?
[12:13:42] <mgedmin> can you reproduce with virtualenv -p python34 /tmp/py34 && /tmp/py34/bin/pip <something, e.g --version>?
[12:41:09] <tech2> mgedmin: sorry, was afk, trying now.
[12:42:01] <tech2> That sequence of commands worked fine.
[12:47:46] <tech2> as for virtualenv, my .local install is 15.0.3 but I don't know if this is what tox uses (I can hope, I guess, but I don't know how to work that out)
[13:13:54] <tech2> Okay, found the cause but don't understand the reason. I'm on an EC2 instance and PYTHON_INSTALL_LAYOUT was set, I unset it and it works. What is this and why does unsetting it work?
[14:13:26] <_matix> pombreda: yes thank you, I will have al ook
[20:00:12] <tdsmith> dstufft: i'm going to have to harrangue you at some point about how distutils.cfg interacts with --target
[20:00:42] <tdsmith> the traceback ends in distutils which makes me sad
[20:05:12] <dstufft> tdsmith: --target is kind of a gross hack
[20:08:07] <tdsmith> i think aws lambda is the only reason anyone cares
[20:09:36] <dstufft> serverless !
[20:33:38] <ngoldbaum> dstufft: just out of curiosity, where are the 2.8 numbers coming from? twitter.com/dstufft/status/771804722764414976
[20:34:07] <dstufft> ngoldbaum: no idea, someone has a Python whose sys.version is set to 2.8
[20:34:13] <ngoldbaum> rebels
[20:34:42] <ngoldbaum> i guess it'll take until centos 6 EOLs for 2.6 to finally die
[20:35:42] <ngoldbaum> 30 Nov 2020 :(
[20:36:54] <Siecje> That's a crazy difference
[20:38:07] <dstufft> Looks like for "modern" versions of pip (6, 7, 8) Python 2.6 is ~3% of downloads
[21:03:02] <tech2_> Hi there. I'd had some problems with the use of pip in tox where if I unset the environment variable PYTHON_INSTALL_LAYOUT it works, but if it's set then I get an ImportError on use of pip but only for a python3 venv. What's that variable for?
[21:14:22] <MiDiSiD> hello, I am hoping somebody can help me with a problem. I am new to linux and python. I am following a tutorial which is installing Raspbian Jessie + Python _ OpenCV. I have run in to a problem midway through the process while installing PIP.
[21:15:01] <MiDiSiD> The first comman is "wget bootstrap.pypa.io/get-pip.py" which gave me a certificate error.
[21:15:57] <MiDiSiD> The following command is "sudo python get-pip.py" this gave me an error saying it couldnt find a suitable matching version.
[21:16:15] <MiDiSiD> If someone can help me it would be greatly appreciated.
[21:19:44] <ngoldbaum> curl -O bootstrap.pypa.io/get-pip.py
[21:20:00] <ngoldbaum> but it sort of sounds like you downloaded it eventually
[23:12:37] <anti-torture> Exit from Satan matrix.
[23:13:44] <dstufft> what
[23:15:27] <anti-torture> Read. Antipsychiatry.org
[23:18:36] <dstufft> anti-torture: Ok that's off topic for here, so please refrain from posting it
[23:19:16] <MiDiSiD> W
[23:19:23] <anti-torture> Off topic but is ON TOPIC because we are in danger
[23:19:39] <dstufft> anti-torture: find someplace else.
[23:19:52] <anti-torture> These psychiatrists are criminals and you dont know when they wanted you.
[23:20:13] <anti-torture> These are dangers for people
[23:20:22] <MiDiSiD> Could not fetch URL pypi.python.org/simple/pip: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) - skipping
[23:20:22] <MiDiSiD> Could not find a version that satisfies the requirement pip (from versions: )
[23:20:23] <MiDiSiD> No matching distribution found for pip
[23:21:09] <MiDiSiD> that is what it says when I type "sudo python get-pip.py"