How to Build the Python Bindings for Arch GNU/Linux
Tyler
tyler at cyb3r.space
Thu Jun 30 17:58:47 EDT 2016
Hi All,
I wrote a blog post on this subject here:
https://cyb3r.space/2016/06/30/gnucash-python-bindings-arch-linux/
tl;dr:
sudo pacman -S abs python2-virtualenv
sudo abs
cp -r /var/abs/extra/gnucash/ ~/
Edit the PKGBUILD file and add the configure flag for --enable-python:
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc \
--libexecdir=/usr/lib --disable-schemas-compile --enable-ofx \
--enable-aqbanking --enable-python
virtualenv2 -p /usr/bin/python2.7 --distribute ~/gnucash-python
source ~/gnucash-python/bin/activate
makepkg -s
sudo pacman -U gnucash-blahblah.pkg.tar.xz
deactivate
python2
>>> import gnucash
In case anyone has issues with this in the future, you can refer them to
the blog post. I would add this content to the wiki page on Python
Bindings for GNUCash, but I don't think I have sufficient permission to
edit the wiki.
If you have any questions, feel free to reply to this email.
Thanks,
Tyler
--
PGP key, Signal, & OTR encryption available upon request.
Learn to use PGP email encryption:
https://ssd.eff.org/en/module/how-use-pgp-windows
https://ssd.eff.org/en/module/how-use-pgp-mac-os-x
https://ssd.eff.org/en/module/how-use-pgp-linux
Signal: https://whispersystems.org/
Off-the-record: https://otr.cypherpunks.ca/
More information about the gnucash-user
mailing list