python bindings & py3k

Gour gour at atmarama.net
Thu Aug 23 05:14:38 EDT 2012


Hello!

I'd like to try Jeff's (https://github.com/n1ywb/jeffs-gnucash-utils)
utility which enables one to tweak GC invoice reports by changing
invoice template based  on HTML/CSS and Mako language which is, in my
case, definitely much easier than fiddling with Scheme.

However, on my distro (Archlinux) GC is built without python bindings
enabled, but I've problem building it 'cause Archlinux uses python3 as
default one.

Changing it to python2 as default, would make package manager utilities
broken.

Otoh, Jeff's invoice.py script requires just using one print() instead
of print (based on the output from 2to3), but bindings are not python-3
ready.

Considering that GC's configure does not have something like:

--with-python=/path/

option, I wonder if you can suggest what would be the least intrusive
way to pass path to python2 as default python to be used while building?


Sincerely,
Gour

-- 
One who sees inaction in action, and action in inaction, 
is intelligent among men, and he is in the transcendental position, 
although engaged in all sorts of activities.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20120823/2d917caf/attachment.sig>


More information about the gnucash-devel mailing list