Re: [GNC-dev] Testing python

2020-04-23 Thread Rob Gowin
On Sun, Apr 19, 2020 at 2:19 PM Andy Goblins wrote: >I also tried skipping the virtual environment and just running >"GNC_UNINSTALLED=1;GNC_BUILDDIR=dir>;PYTHONPATH=$GNC_BUILDDIR/lib/python3.8/site-packages:$GNC_BUILDDIR >/lib/gnucash python" just like the cmake tests use, but I g

Re: [GNC-dev] Testing python

2020-04-19 Thread Andy Goblins
I get the same result; it's not finding the libgncmod-backend stuff in build/lib/gnucash. Sent: Saturday, April 18, 2020 at 12:47 PM From: "Mark" To: "andygoblins" Cc: "GnuCash Developer" Subject: Re: [GNC-dev] Testing python I use th

Re: [GNC-dev] Testing python

2020-04-18 Thread Mark
I use the python bindings regularly but I've never got any warnings or errors such as you describe. Just to cover the basics first, are you sure you didn't want to issue the venv command with the '--system-site-packages' switch? Did you have pygnucash loaded to the pip of the python you used for ve

[GNC-dev] Testing python

2020-04-18 Thread andygoblins
I'm tinkering with the python bindings, but I'm having trouble testing the results of my changes. Could anyone give me some advice? Currently, I build gnucash with ninja and then run 'python -m venv ' to set up a virtual python environment right next to the fresh build. But when I tr