{ "info": { "author": "Philip Jenvey", "author_email": "pjenvey@underboss.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: Implementation :: Jython", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: WSGI" ], "description": ".. _usage:\n\nsnakefight\n==========\n\nsnakefight generates `WAR files`_ from Python (Jython) WSGI applications,\nsuitable for deployment to Java `Servlet containers`_.\n\nInstallation\n============\n\nsnakefight requires at least `Jython`_ 2.5b2. To install::\n\n $ easy_install snakefight\n\nCreating WAR files\n==================\n\nsnakefight provides a new distutils command: ``bdist_war``.\n\nTo create a `WAR file`, create a ``web.xml`` deployment descriptor (which would\ntypically utilize the `modjy`_ library for the actual Servlet) and run::\n\n $ jython setup.py bdist_war --web-xml web.xml\n\nsnakefight can automatically generate a ``web.xml`` (utilizing `modjy`_) for\nPaste style projects (those that support the `paste.app_factory`_ entry point),\nby specifying the ``--paste-config`` option. To specify a named app in the\nconfig file, use the ``--paste-app-name`` option (which defaults to main)::\n\n $ jython setup.py bdist_war --paste-config production.ini --paste-app-name cascade\n\nTo include separate ``.jar`` files in the WAR's ``WEB-INF/lib`` directory,\nspecify a comma separated list of jars to the ``--include-jars`` option::\n\n $ jython setup.py bdist_war --include-jars jasper-runtime-5.5.9.jar,lucene-core-2.4.jar \\\n > --web-xml web.xml\n\nAs with any distutils command the options may also be specified in the project's\n``setup.cfg``::\n\n [bdist_war]\n paste-config = production.ini\n include-jars = jasper-runtime-5.5.9.jar\n lucene-core-2.4.jar\n\nsnakefight can also be ran from CPython (at least version 2.5) as long as a\n``JYTHON_HOME`` is specified::\n\n $ jython setup.py bdist_war --web-xml web.xml --jython-home=~/jython2.5b2\n\nOther options:\n\n* ``--war-prefix`` Prefix of the war file to build\n* ``--no-jython`` Don't include the Jython distribution\n\n\nTODO\n====\nAdd options for:\n\n* exclude-requires: exclude certain eggs from inclusion\n* static_files: list of directories to serve public files (through the faster\n ``org.jruby.webapp.FileServlet``)\n* specifying modjy options\n* --unpacked: don't zip the war file\n\nSupport:\n\n* non setuptools apps? (like Django apps) `django-jython`_ already handles\n Django but ideally we'd share code\n\nChangelog\n=========\n\n0.5 (2011-12-10)\n~~~~~~~~~~~~~~~~\n\n* Fixed installation via pip.\n\n0.4 (2009-07-15)\n~~~~~~~~~~~~~~~~\n\n* Reorder the auto-generated ``web.xml`` child tags for better\n validation.\n\n* Use the actual distribution name (not the egg safe name) for the WAR\n filename.\n\n* Close the war file handle before moving it, particularly for Windows.\n\n0.3 (2009-03-13)\n~~~~~~~~~~~~~~~~\n\n* Added the ``--include-jars`` option\n\n0.2 (2009-03-10)\n~~~~~~~~~~~~~~~~\n\n* easy_install'ing the app is now the first step\n\n0.1 (2009-03-08)\n~~~~~~~~~~~~~~~~\n\n* Initial release\n\n.. _`Jython`: http://www.jython.org\n.. _`WAR files`: http://en.wikipedia.org/wiki/Sun_WAR_(file_format)\n.. _`Servlet containers`: http://en.wikipedia.org/wiki/Servlet_container\n.. _`modjy`: http://modjy.xhaus.com/\n.. _`paste.app_factory`: http://pythonpaste.org/deploy/#paste-app-factory\n.. _`django-jython`: http://code.google.com/p/django-jython/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/snakefight", "keywords": "jython war", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "snakefight", "package_url": "https://pypi.org/project/snakefight/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/snakefight/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/snakefight" }, "release_url": "https://pypi.org/project/snakefight/0.5/", "requires_dist": null, "requires_python": null, "summary": "Assembles WAR files from Python (Jython) WSGI applications", "version": "0.5" }, "last_serial": 799759, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "49042879907e3b6f45a47e4b658c5fa4", "sha256": "b50b8ca36fe49c9587bf402d7e315a6fb14d892d8ccc3fb0def134508039d04e" }, "downloads": -1, "filename": "snakefight-0.1-py2.5.egg", "has_sig": false, "md5_digest": "49042879907e3b6f45a47e4b658c5fa4", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 11423, "upload_time": "2009-03-08T10:14:46", "url": "https://files.pythonhosted.org/packages/4f/5b/a53b46d3ca5e8bd6b0ed0ebcb300736670b75dbd0b9eb4aa804dfa656438/snakefight-0.1-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "91a48cd83a4536a148c1f404348b5f8d", "sha256": "c75e1ad33c1875a8b950c4d5a15353bec208915be39e10ae01c6a80a3f82728a" }, "downloads": -1, "filename": "snakefight-0.1.tar.gz", "has_sig": false, "md5_digest": "91a48cd83a4536a148c1f404348b5f8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5450, "upload_time": "2009-03-08T10:14:31", "url": "https://files.pythonhosted.org/packages/a2/3d/39f8da9f9688b1e44f604a80116c72dd51008813842d07c8426ca7b451ce/snakefight-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "347699e45efe90cb13faee3872bdeb83", "sha256": "fa85a540516bb934031d42cf752cc0256f5842717c566c486d1b9eb3254eac1a" }, "downloads": -1, "filename": "snakefight-0.2-py2.5.egg", "has_sig": false, "md5_digest": "347699e45efe90cb13faee3872bdeb83", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 11490, "upload_time": "2009-03-11T02:56:38", "url": "https://files.pythonhosted.org/packages/f9/a2/51845f5dab069bbb56ef20277dd5756277fb4a50106455db3de2098d3e18/snakefight-0.2-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "3c7c1b00f5e03f3d2244ee6d94657a08", "sha256": "18402c47ffcd1f3bd524b089df2c4f3c83b2485dfadf862e5189c38260606214" }, "downloads": -1, "filename": "snakefight-0.2.tar.gz", "has_sig": false, "md5_digest": "3c7c1b00f5e03f3d2244ee6d94657a08", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5478, "upload_time": "2009-03-11T02:56:37", "url": "https://files.pythonhosted.org/packages/f5/9e/fe0f3e0403c00ce5a6f06b74feb0f47fcc1ef15ee27f33953f15bacf335d/snakefight-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "f3a37c3efbd57b203b52a329b20e30ff", "sha256": "15f22076276b91f4f9715495151f419d3e592013d7fab72e4367c4a33a6179d0" }, "downloads": -1, "filename": "snakefight-0.3-py2.5.egg", "has_sig": false, "md5_digest": "f3a37c3efbd57b203b52a329b20e30ff", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 12108, "upload_time": "2009-03-14T00:42:05", "url": "https://files.pythonhosted.org/packages/ae/c3/74ce5cdc0a4fd0ed4353c8a802caee496ebee2276226ca7641a7a17a0d5f/snakefight-0.3-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "958799df0a2d6e781a03e48d1d3a3c77", "sha256": "94fa24e8dc7416bd2496fc4e4114f2fa44109abcb2d19115bc40fef58d98e157" }, "downloads": -1, "filename": "snakefight-0.3.tar.gz", "has_sig": false, "md5_digest": "958799df0a2d6e781a03e48d1d3a3c77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5788, "upload_time": "2009-03-14T00:42:03", "url": "https://files.pythonhosted.org/packages/99/ae/0c4b83dfcd8611f4627de8bbc2d4f67bb9e979b80b8931d4f83534d504ea/snakefight-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "3ceb7ca7e11cc98ec305845137b36cd6", "sha256": "f21a3d9b4d4821440aa1a09946125d3fb672833fabda5f13c7fa15680808ff69" }, "downloads": -1, "filename": "snakefight-0.4-py2.5.egg", "has_sig": false, "md5_digest": "3ceb7ca7e11cc98ec305845137b36cd6", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 12248, "upload_time": "2009-07-15T23:25:18", "url": "https://files.pythonhosted.org/packages/74/1c/0f1b7e73520c08080cfd1adf303d3a961eeca5b52cf0e9c0166062357127/snakefight-0.4-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "1c4b95ca5b09cd6c98462aaf06f2dea9", "sha256": "a288411d79b1a35109f3cc1f53b80c6f3f7060d0c8c0a93bf203884befc20e4e" }, "downloads": -1, "filename": "snakefight-0.4-py2.6.egg", "has_sig": false, "md5_digest": "1c4b95ca5b09cd6c98462aaf06f2dea9", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 12236, "upload_time": "2009-07-15T23:22:21", "url": "https://files.pythonhosted.org/packages/29/70/c88a59ec6c8e012f30e53c003f8e1531152864d9b0925c703807e20de48d/snakefight-0.4-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "65fe9f02eecb36adf081be6be39ccdb8", "sha256": "956f3425d4ec46dce55ad04f6c901d5e91f2bc0299288082a23736ec5ca23175" }, "downloads": -1, "filename": "snakefight-0.4.tar.gz", "has_sig": false, "md5_digest": "65fe9f02eecb36adf081be6be39ccdb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5937, "upload_time": "2009-07-15T23:22:19", "url": "https://files.pythonhosted.org/packages/fd/68/d93eb79fcaeed4f648f0a453880eed946e71b815ec0d7615b8bfc5628638/snakefight-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "788b67aa6b4be4422a9102491c6f653e", "sha256": "f71bc92119999523aa128f97afd68d1f0b5d78663baf15cb94aa67adaf900708" }, "downloads": -1, "filename": "snakefight-0.5-py2.5.egg", "has_sig": false, "md5_digest": "788b67aa6b4be4422a9102491c6f653e", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 12334, "upload_time": "2011-12-10T23:03:21", "url": "https://files.pythonhosted.org/packages/08/06/08833aa565c677ef3cec8fde4246520e8255c5a87bae4290495f80dff841/snakefight-0.5-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "ae841e94df84e0455b270cfcb25adc30", "sha256": "62cfb6896b7bf917db8c1cae7a2b99f6c9a90112b2505862d2d1293355c3d77d" }, "downloads": -1, "filename": "snakefight-0.5-py2.6.egg", "has_sig": false, "md5_digest": "ae841e94df84e0455b270cfcb25adc30", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 12330, "upload_time": "2011-12-10T23:03:09", "url": "https://files.pythonhosted.org/packages/50/2e/1854597d1734c1cf9dcaac443f98f4e67ec3eb83a828677b87adccb091d6/snakefight-0.5-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "042e817197366902abd2045e5c778a2f", "sha256": "2e321046631f8832cc9fa926c726c77c18367b74633d1f8c80f4e7c818354569" }, "downloads": -1, "filename": "snakefight-0.5.tar.gz", "has_sig": false, "md5_digest": "042e817197366902abd2045e5c778a2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10405, "upload_time": "2011-12-10T23:03:07", "url": "https://files.pythonhosted.org/packages/3d/27/25bc99716a30b9a625dd52f08c6dcceafcacf629cfd8fa1b42885b3dd00f/snakefight-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "788b67aa6b4be4422a9102491c6f653e", "sha256": "f71bc92119999523aa128f97afd68d1f0b5d78663baf15cb94aa67adaf900708" }, "downloads": -1, "filename": "snakefight-0.5-py2.5.egg", "has_sig": false, "md5_digest": "788b67aa6b4be4422a9102491c6f653e", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 12334, "upload_time": "2011-12-10T23:03:21", "url": "https://files.pythonhosted.org/packages/08/06/08833aa565c677ef3cec8fde4246520e8255c5a87bae4290495f80dff841/snakefight-0.5-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "ae841e94df84e0455b270cfcb25adc30", "sha256": "62cfb6896b7bf917db8c1cae7a2b99f6c9a90112b2505862d2d1293355c3d77d" }, "downloads": -1, "filename": "snakefight-0.5-py2.6.egg", "has_sig": false, "md5_digest": "ae841e94df84e0455b270cfcb25adc30", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 12330, "upload_time": "2011-12-10T23:03:09", "url": "https://files.pythonhosted.org/packages/50/2e/1854597d1734c1cf9dcaac443f98f4e67ec3eb83a828677b87adccb091d6/snakefight-0.5-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "042e817197366902abd2045e5c778a2f", "sha256": "2e321046631f8832cc9fa926c726c77c18367b74633d1f8c80f4e7c818354569" }, "downloads": -1, "filename": "snakefight-0.5.tar.gz", "has_sig": false, "md5_digest": "042e817197366902abd2045e5c778a2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10405, "upload_time": "2011-12-10T23:03:07", "url": "https://files.pythonhosted.org/packages/3d/27/25bc99716a30b9a625dd52f08c6dcceafcacf629cfd8fa1b42885b3dd00f/snakefight-0.5.tar.gz" } ] }