If you mean the gnucash-x.x-setup.exe distributed as part of releases, it's 
built on Windows in the MSYS2 environment using gcc. You're correct that the 
Python bindings aren't included. That's also the case for the macOS GnuCash.app 
and flatpak. The reason is that the bindings must be linked against libpython 
so we'd have to include a full python instance in the bundle and we think that 
would add too much bloat to an already large download. Users who want to use 
the Python bindings will have to build GnuCash themselves; the recipes are 
published at https://github.com/gnucash/gnucash-on-windows, 
https://github.com/gnucash/gnucash-on-osx, and 
https://github.com/gnucash/gnucash-on-flatpak.

Regards,
John Ralls


> On Jul 25, 2022, at 9:49 PM, flywire <flywi...@gmail.com> wrote:
> 
> TLDR: GnuCash Windows version is compiled on linux so, considering the
> note below, you are unlikely to get python bindings working in
> Windows.
> 
> 
>> Important
> 
>> The Python extensions are an optional feature which creates additional 
>> dependencies. To be
>> able to use Python scripts, GnuCash must have been built with the cmake 
>> -DWITH_PYTHON=ON …
>> option enabled, otherwise all what follows won’t work. At present this 
>> option is not
>> enabled by default, so if you need this, you may have to compile GnuCash 
>> from source
>> yourself. But some distributions offer it also as a separate package with a 
>> name like
>> python[version]-GnuCash
> 
> 
> I'd happily be shown wrong about python bindings being easily
> accessible under Windows.
> 
> 
> Piecash is about the only alternative but iirc the demos are hidden in
> the code repository. Try:
> https://lists.gnucash.org/pipermail/gnucash-user/2021-July/097124.html
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to