background preloader

Jython

Facebook Twitter

JythonFaq/DistributingJythonScripts - JythonWiki. Return to JythonFaq How can others use scripts/applications I've developed? Initial creation date: Aug 2007 last updated: Aug 6, 2009 Using Maven The easiest way to distribute a standalone jar is by using the jython compilation maven plugin. It allows you to deploy a standalone project that includes jython with libraries.

For demonstration of this plugin, see the demo project and its source code. Launch a python console -- look at AbstractInitJython and InitJython on how to launch a python/jython console, how to execute python code snippets, and how to run a python script. include python libraries -- the plugin also downloads and bundles python libraries (using easy_install) in the package phase, and adds them to the jar. For testing python / jython code, the python test maven plugin allows you to run your python tests alongside the normal junit tests. The sourceforge umbrella project is Manually Requirements What I did is install Jython twice. For example: Distributing my python scripts as jars with jython? Qt Labs Blogs » Qt Jambi and Jython. Qt Labs - Projects/QtJambi/jython. Qt Jambi.