From: Moore, G. <Gre...@ad...> - 2008-07-28 17:21:06
|
Have you tried putting the pigment files in the Lib directory of the jar file? Greg. -----Original Message----- From: jyt...@li... [mailto:jyt...@li...] On Behalf Of Raymi Sent: Saturday, July 26, 2008 7:42 AM To: jyt...@li... Subject: [Jython-users] Using Python Module (pygments) with Java Hi, I'd like to use the pygments syntax highlighting module from within a JAVA application. I understand how I can use the PythonInterpreter to execute single python statements or whole files. However I don't understand how I can load the whole pygments module and use it. In order to deploy the application easily I don't want to install Jython on the system and then call pygment's installer from the jython shell. I just want to deploy the jython jar archive and the pygments module (as egg file) and then load the module once during startup. Is this possible? Thanks in advance for your help. Cheers, raymi ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. |