I've not used waitress but this is the WSGI file for a project of mine I had deployed under Passenger for a while.
https://pastebin.com/4SX11Vyx >From a very quick five minute look at some docs on waitress it looks like there's an entry point for pastedeploy so you can use Waitress's WSGI gateway from a configuration file. I know that's not much but I hope it helps you some to find your way. <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Thu, Oct 17, 2019 at 9:45 AM dbrant <[email protected]> wrote: > I am trying to run a deployment on AWS Elastic Beanstalk. > > I am trying to run it without a container in preconfigured python > environment. It is asking for as WSGI File. As I am running Waitress I > know that this can be done by providing a simple script to start the > waitress server on a port. If anyone has any example this would really > help. > (ie. the WSGI Scripted equivalent of "gearbox serve" command) > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/turbogears/2f946349-231c-40b0-88f4-bee650f25696%40googlegroups.com > <https://groups.google.com/d/msgid/turbogears/2f946349-231c-40b0-88f4-bee650f25696%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/turbogears/CAMhmP7RUdie%2B-kyMjdRRPRwT87srsy84%2BsYTBd13-so0gWCDQw%40mail.gmail.com.

