Philogy <[email protected]> writes:

> Hello everyone, I'm just starting to get into ledger and other PTA tools 
> but I'm wondering where and how I can use the `ledger` Python package. I 
> see on github that there's a python folder with an example but I can't seem 
> to find the referenced package / module anywhere in the documentation or 
> online. I'm very interested in using ledger as my accounting system but I'd 
> need to extend with a couple features.

It might depend a bit on your OS. On Linux it suffices to add
"-DUSE_PYTHON=ON" to the cmake arguments.  This generates an
appropriately named shared library, which is the extension [1]. I agree it 
would be cool if
this was documented somewhere.

d

[1]: for me currently this ends up as
     /usr/lib/python3/dist-packages/ledger.cpython-310-x86_64-linux-gnu.so

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/87ilquiu09.fsf%40tethera.net.

Reply via email to