-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
I’ve spent quite a bit of time today to get rid of the .ini file with Pyramid and the biggest problem turned out to be configuring waitress to work with pserve egg:my_pkg.
I did know about paste.server_runner but the missing piece was waitress:serve_paste that works with it. It would be nice if people after me could find that information in the documentation. :)
For people coming from Google, the solution is passing
"""
[paste.app_factory]
main = your-app-package:main
[paste.server_runner]
main = waitress:serve_paste
"""into entry_points of your setup.py.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels