Re: New Python bindings (was: Crash with Python bindings)

Subject: Re: New Python bindings (was: Crash with Python bindings)

Date: Thu, 29 Mar 2018 00:15:35 +0200

To: David Bremner, Brian May, notmuch@notmuchmail.org

Cc:

From: Floris Bruynooghe


On Wed, Mar 28 2018, David Bremner wrote:

> Brian May <brian@linuxpenguins.xyz> writes:
>
>> I can into this thread late. However, my priorities for python bindings
>> would be:
>
> [...]
>> * Packages should be available from pypi.python.org
>>
>
> We tried this before, and it didn't work out very well. Bindings tend to
> depend on a strict matching of versions with the underlying library, so
> distributing them seperately doesn't really make sense to me. You need
> the underlying libraries, so why not get the matching bindings from the
> same place?  We found that the situation was exacerbated by the fact
> that no-one cared about updating the bindings on pypi.

I did build a

#if LIBNOTMUCH_MAJOR_VERSION < 5
    #error libnotmuch version not supported by notdb
#endif

into my current bindings which kind of allows you to do this to some,
hopefully reasonable, level.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: