GNOME Bugzilla – Bug 668196
Install all files for python bindings in the same directory
Last modified: 2018-06-29 23:05:09 UTC
The python bindings files are not all installed in the same directory, and I think this causes an issue when _gnucash_core_c.so gets installed in /usr/lib64/python2.7/site-packages/gnucash/ while the .py files get installed in /usr/lib/python2.7/site-packages/gnucash/ (which is how files get installed by default on at least openSUSE and Fedora). As far as I can tell, Fedora got this issue reported as https://bugzilla.redhat.com/show_bug.cgi?id=729454 and they worked around it in a quite ugly way: http://pkgs.fedoraproject.org/gitweb/?p=gnucash.git;a=commitdiff;h=07da3ccb7fc971352d32c6c0a5592f41d6b94367 The .py files should go to the same directory as the .so file.
Created attachment 205547 [details] [review] Fix installation of python bindings With this patch, files are correctly installed together.
I can't commit the fix myself as I don't have a gnucash svn account.
Comment on attachment 205547 [details] [review] Fix installation of python bindings Thank you for your patch ! Christian did commit it to trunk, but it wasn't backported yet to 2.4. I have just done that in r22019.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=668196. Please update any external references or bookmarks.