Hello,
I would like to experiment with the python bindings of ledger 3.0
(latest version of master branch on github).
Compilation went ok, make check worked with all tests passing.
When I issued make install it installed the compiled files in /usr/
local
in /usr/local/lib:
libledger_data.a
libledger_data.la
libledger_expr.a
libledger_expr.la
libledger_math.a
libledger_math.la
libledger_python.a
libledger_python.la
libledger_report.a
libledger_report.la
libledger_util.a
libledger_util.la
in /usr/local/lib/python2.5/site-packages:
ledger.a
ledger.la
in /usr/local/lib/python2.5/site-packages/ledger:
__init__.py
hello.py
server.py
When I want to run a small python program to create an amount object,
it fails:
from ledger import *
my_amount = Amount("1$")
Traceback (most recent call last):
File "./pyledger.py", line 4, in <module>
amount = Amount("1$")
NameError: name 'Amount' is not defined
How do I install the python bindings? It seems only server and hello
are recognized in python?
Thanks,
-Olaf