Skip to content

serve_paste isn’t documented #137

@hynek

Description

@hynek

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions