[pylons-discuss] Deploy Pyramid to Elastic Beanstalk

2016-07-17 Thread Andrew Burnett
Does anyone have experience installing a Pyramid application via Elastic Beanstalk? My application deploys but I cannot configure the application's application.py (or pyramid.wsgi) file to work properly. Within get_app the following error occurs: File "/opt/python/run/venv/lib/python2.7/si

Re: [pylons-discuss] Deploy Pyramid to Elastic Beanstalk

2016-07-17 Thread Michael Merickel
I don't have any beanstalk experience but this is definitely a path/virtualenv issue. I'd add some code to output your sys.path and it should be clear why your code is not available. It sounds like your dependencies were installed but the package itself is not on the path. On Sun, Jul 17, 2016 at

Re: [pylons-discuss] Deploy Pyramid to Elastic Beanstalk

2016-07-17 Thread Randall Leeds
It might be that if you have a requirements.txt that Beanstalk only installs that and not your package. Listing your package as an in place, editable install with an entry like "-e ." in the requirements file will make sure that your package is linked into the environment. On Sun, Jul 17, 2016, 16

Re: [pylons-discuss] Deploy Pyramid to Elastic Beanstalk

2016-07-17 Thread Vincent Catalano
Hey Andrew, I've deployed a number of Pyramid applications using Elastic Beanstalk. First, make sure that your Elastic Beanstalk configuration is pointing to the proper WSGIPath - I believe the default is app.py, but I would double check this value in the control panel. Also, you will need to add