For those interesting in the Python support

13 views
Skip to first unread message

John Wiegley

unread,
Nov 20, 2009, 5:59:16 AM11/20/09
to ledge...@googlegroups.com
I've started a self-documenting Ledger.Python program in python/demo.py in the sources. You can run it without installing as follows:

ledger python python/demo.py

This file very briefly summarizes all of the features available through the Python bridge. I'll keep adding to it over the next week.

To reiterate however: Python support is enabled by default for people who grab the source from Git, but is going to be _disabled_ in 3.0 when the official distribution is ready. This is because I consider it a developer-only feature right now. More work will be done on testing, finalizing the APIs, and documenting the bridge, in preparation for making it generally available in Ledger 3.1.

I doubt that 3.0 will make it out this year, as there is a lot of documentation to write, but at least all known bugs have been accounted for once again.

John

Simon Michael

unread,
Nov 20, 2009, 3:19:33 PM11/20/09
to ledge...@googlegroups.com
Bravo!

I ./acprep update'd my git master build this morning, but it doesn't seem to have the python command enabled. (My boost
does have it.)

John Wiegley

unread,
Nov 20, 2009, 3:32:23 PM11/20/09
to ledge...@googlegroups.com
On Nov 20, 2009, at 3:19 PM, Simon Michael wrote:

> I ./acprep update'd my git master build this morning, but it doesn't seem to have the python command enabled. (My boost does have it.)

Please send me your config.log file so I can check what's going on.

Thanks, John
Reply all
Reply to author
Forward
0 new messages