title: Packaging and deploying a Jython program from Eclipse
body: <p>So I've been pigeon-holed into writing some Jython code.  I've been using the latest version of Eclipse IDE with the PyDev plugin for development.  Up until now, things have been moderately tolerable.  I've gotten all my Python scripts working and I'm successfully including a couple of JAR files and the class directory of another Java project as external dependencies.  Everything seems to run fine through the Eclipse IDE.</p>
  
  <p>Now I need to package everything up and deploy it.  From what I can gather, the best way to do this would be to package everything up in a JAR file.  The Jython documentation suggests starting out with the jython.jar file and adding to it.  OK.  So I modify my main python module and start adding all my python source to the JAR.</p>
  
  <p>It executes but of course can't find all the external dependencies.</p>
  
  <p>How is one supposed to add the external JAR files so that they are correctly seen by the Jython interpreter?  How is one supposed to manage more complex dependencies in a setup like this?</p>
  
  <p>Is there a plugin for Eclipse or maybe something like Ant or Maven that can handle all of these steps for me with the push of a button?</p>
  
  <p>I can't be the first person that has needed to deploy Jython code with complex dependencies can I?</p>