It's PYTHONPATH not PYTHON_PATH.
On Tue, Jun 18, 2013, at 0:52, c b wrote: > Hi John, > Thanks for your response. > > I did a "make install" and see the following files installed in my prefix > location (/opt/local) > > /opt/local > /bin/ledger > /include/ledger/<a bunch of header files> > /lib/libledger.a > /share > /doc > /man > > I tried including /opt/local/lib/ into PYTHON_PATH, but couldn't do an > 'import > ledger' in python > > Does that look right? > > Thanks, > cb > > On Monday, June 17, 2013 3:40:46 PM UTC-7, John Wiegley wrote: > > > > >>>>> Martin Blais <[email protected] <javascript:>> writes: > > > > > Is there any specific reason that ledger can't be built as a Python > > > extension module? Something specific at static initialization? > > > > Ledger *does* build as Python module, but until you "make install", you > > can > > just do a Python import. That's why I added the "python" subcommand to > > Ledger: so that the tests could import in the currently built Ledger > > module > > before installation. > > > > After installation, just do "import ledger". > > > > John > > > > -- > > --- > 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.
