There was another thread on this a while ago. Basically the CMake build files need to be adapted to generate a shared library and the name used in the BOOST_PYTHON_MODULE macro in pyledger.cc needs to match the name of the file (minus the lib prefix) IIRC. I may have some time to work on this next week. On Oct 1, 2013 11:45 PM, "Max Linke" <[email protected]> wrote:
> ah thank you. Are there any plans to factor this out into real python > module? I would like to use ledger with the ipython notebook > > On Monday, September 30, 2013 4:49:49 PM UTC+2, Mark Alexander wrote: >> >> Excerpts from Max Linke's message of 2013-09-28 14:09:09 -0400: >> > Although it seems like the python module was not installed. Python >> gives an >> > 'ImportError' when I try to load ledger. I also can't find anything in >> > ~/.local/lib/python/site-**packages. Is the module installed in >> another path? >> >> I struggled with this at first, too. Then I discovered that you >> have to run the python script from ledger like this: >> >> ledger -f ledger.dat python some_script.py >> > -- > > --- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- --- 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]. For more options, visit https://groups.google.com/groups/opt_out.
