Skip to main content

cykooz.recipe.wsgi

This recipe for buildout creates a script that can be used as an entry point for WSGI servers (mod_wsgi, uwsgi and other).

Usage

This is a minimal buildout.cfg file which creates a WSGI script mod_wsgi can use:

[buildout]
parts = wsgi

[wsgi]
recipe = cykooz.recipe.wsgi
eggs = myapplication
app_fabric = myapplication.wsgi:get_app
environ =
    CHAMELEON_CACHE=true
    CHAMELEON_STRICT=true
initialization =
    import logging
    logging.info('Run myapplication')

This will create a small python script in the bin directory called wsgi which mod_wsgi can load. You can also use the optional extra-paths option to specify extra paths that are added to the python system path.

You may also use the script-name option to specify the name of the generated script file, if wsgi is unsuitable. Or you may use the target option to specify a full path of the generated script file.

Changes

1.0.0 (2017-03-02)

  • First release.

Metadata

Release files for cykooz.recipe.wsgi 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cykooz.recipe.wsgi 1.0.0
File Size Uploaded
cykooz.recipe.wsgi-1.0.0.tar.gz 11.3 kB Details

Release files / cykooz.recipe.wsgi-1.0.0.tar.gz

Download URL cykooz.recipe.wsgi-1.0.0.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4cc49502c9bdf2e5212ad47d5fbd9fe5a77278a190f90ab52ac57ccaf15373dd
BLAKE2b-256 checksum
How to use checksums
fe0e02f7217aacffe3ce942ceadafeb87360547aa8eb8b6128592ed31b05795f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page