cykooz.recipe.wsgi


Namecykooz.recipe.wsgi JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://bitbucket.org/cykooz/cykooz.recipe.wsgi
SummaryThis recipe for zc.buildout creates a script that can be used as an entry point for WSGI servers.
upload_time2017-03-02 12:51:32
maintainer
docs_urlNone
authorCykooz
requires_python
licenseGPL 2
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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.

.. _buildout: http://pypi.python.org/pypi/zc.buildout
.. _mod_wsgi: http://code.google.com/p/modwsgi/
.. _uwsgi: https://uwsgi-docs.readthedocs.io


Changes
=======

1.0.0 (2017-03-02)
------------------

- First release.

            

Raw data

            {
    "_id": null,
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "cheesecake_code_kwalitee_id": null,
    "keywords": "",
    "upload_time": "2017-03-02 12:51:32",
    "author": "Cykooz",
    "home_page": "https://bitbucket.org/cykooz/cykooz.recipe.wsgi",
    "download_url": "https://pypi.python.org/packages/fe/0e/02f7217aacffe3ce942ceadafeb87360547aa8eb8b6128592ed31b05795f/cykooz.recipe.wsgi-1.0.0.tar.gz",
    "platform": "",
    "version": "1.0.0",
    "cheesecake_documentation_id": null,
    "description": "cykooz.recipe.wsgi\n==================\n\nThis recipe for buildout_ creates a script that can be used as an entry\npoint for WSGI servers (mod_wsgi_, uwsgi_ and other).\n\nUsage\n-----\n\nThis is a minimal ``buildout.cfg`` file which creates a WSGI script mod_wsgi\ncan use::\n\n    [buildout]\n    parts = wsgi\n\n    [wsgi]\n    recipe = cykooz.recipe.wsgi\n    eggs = myapplication\n    app_fabric = myapplication.wsgi:get_app\n    environ =\n        CHAMELEON_CACHE=true\n        CHAMELEON_STRICT=true\n    initialization =\n        import logging\n        logging.info('Run myapplication')\n\nThis will create a small python script in the bin directory called ``wsgi``\nwhich mod_wsgi can load. You can also use the optional ``extra-paths`` option\nto specify extra paths that are added to the python system path.\n\nYou may also use the ``script-name`` option to specify the name of the\ngenerated script file, if ``wsgi`` is unsuitable. Or you may use the ``target``\noption to specify a full path of the generated script file.\n\n.. _buildout: http://pypi.python.org/pypi/zc.buildout\n.. _mod_wsgi: http://code.google.com/p/modwsgi/\n.. _uwsgi: https://uwsgi-docs.readthedocs.io\n\n\nChanges\n=======\n\n1.0.0 (2017-03-02)\n------------------\n\n- First release.\n",
    "lcname": "cykooz.recipe.wsgi",
    "name": "cykooz.recipe.wsgi",
    "github": false,
    "bugtrack_url": null,
    "license": "GPL 2",
    "summary": "This recipe for zc.buildout creates a script that can be used as an entry point for WSGI servers.",
    "split_keywords": [],
    "author_email": "saikuz@mail.ru",
    "urls": [
        {
            "has_sig": false,
            "upload_time": "2017-03-02T12:51:32",
            "comment_text": "",
            "python_version": "source",
            "url": "https://pypi.python.org/packages/fe/0e/02f7217aacffe3ce942ceadafeb87360547aa8eb8b6128592ed31b05795f/cykooz.recipe.wsgi-1.0.0.tar.gz",
            "md5_digest": "1d6246b224d9abb8358c96113e8ccd5b",
            "downloads": 0,
            "filename": "cykooz.recipe.wsgi-1.0.0.tar.gz",
            "packagetype": "sdist",
            "path": "fe/0e/02f7217aacffe3ce942ceadafeb87360547aa8eb8b6128592ed31b05795f/cykooz.recipe.wsgi-1.0.0.tar.gz",
            "size": 11325
        }
    ],
    "cheesecake_installability_id": null
}
        
Elapsed time: 0.03102s