Installing Python Script Extensions

Mike Enoch's Avatar

Mike Enoch

02 Dec, 2016 03:26 PM

I've been looking at the process of installing python script extension by running your python_template.py.

Although the extension installs and appears in the Extension Menu it does not appear there if Moneydance is closed and restarted. Is this supposed to happen or am I missing something obvious?

  1. 1 Posted by virantha on 02 Dec, 2016 08:19 PM

    virantha's Avatar

    Hi Mike,

    After digging into this a bit today, I was able to figure out a way to bundle Python extensions into the regular Moneydance Java-based .mxt extensions. This flow I've come up with will install the Python extension permanently like any other Java extension. You do need to be able to build regular java extensions (the sample supplied by Moneydance is really easy to get going)

    The details are in http://virantha.com/2016/11/28/moneydance-python-extension-tips/#bu...

    Basically, I bundle the Jython standalone .jar into the extension, and instantiate a PythonInterpreter in the Main.java entry points to pass-through commands to a Python Extension. It seems to work pretty well so far.

  2. 2 Posted by Mike Enoch on 03 Dec, 2016 03:56 PM

    Mike Enoch's Avatar

    Comment deleted

  3. 3 Posted by Mike Enoch on 03 Dec, 2016 06:11 PM

    Mike Enoch's Avatar

    Comment deleted

  4. Mike Enoch closed this discussion on 11 Dec, 2016 08:30 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac