snakefight

Assembles WAR files from Python (Jython) WSGI applications
Download

snakefight Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Philip Jenvey
  • Publisher web site:
  • http://www.hellanzb.com

snakefight Tags


snakefight Description

Assembles WAR files from Python (Jython) WSGI applications snakefight is a Python library that generates WAR files from Python (Jython) WSGI applications, suitable for deployment to Java Servlet containers.Installation:$ easy_install snakefightCreating WAR filessnakefight provides a new distutils command: bdist_war.To create a WAR file, create a web.xml deployment descriptor (which would typically utilize the modjy library for the actual Servlet) and run:$ jython setup.py bdist_war --web_xml web.xmlsnakefight can automatically generate a web.xml (utilizing modjy) for Paste style projects (those that support the paste.app_factory entry point), by specifying the --paste-config option. To specify a named app in the config file, use the --paste-app-name option (which defaults to main):$ jython setup.py bdist_war --paste-config production.ini --paste-app-name cascadesnakefight can also be ran from CPython (at least version 2.5) as long as a JYTHON_HOME is specified:$ jython setup.py bdist_war --web_xml web.xml --jython-home=~/jython2.5b2Other options: * --war-prefix Prefix of the war file to build * --no-jython Don't include the Jython distribution Requirements: · Python · Jython What's New in This Release: · Reorder the auto-generated web.xml child tags for better validation. · Use the actual distribution name (not the egg safe name) for the WAR filename. · Close the war file handle before moving it, particularly for Windows.


snakefight Related Software