From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id F17796DE2C1E for ; Wed, 28 Mar 2018 15:37:17 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.527 X-Spam-Level: X-Spam-Status: No, score=-0.527 tagged_above=-999 required=5 tests=[AWL=-0.526, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bwHaCVaHau0v for ; Wed, 28 Mar 2018 15:37:17 -0700 (PDT) Received: from mx.kolabnow.com (mx.kolabnow.com [95.128.36.42]) by arlo.cworth.org (Postfix) with ESMTPS id E646F6DE2C1D for ; Wed, 28 Mar 2018 15:37:16 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id AFFF882D for ; Thu, 29 Mar 2018 00:37:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received:received:received; s=dkim20160331; t=1522276632; x= 1524091033; bh=Ta1iPOco4zRtfpBVfPVbWij7nS7qZl2huIPRJ8fWB1g=; b=F WMU/sfMJQq2BFMMxMuQEASfFqAqlTe90Q7oUB0QYUROLxJKmzD4y/oMXyTI6ZSME 5WzKvnCCpL0oJ4EP+HYWH2i61qALM3RoxL3Y/E/1QFb6yyO8JhioiN4S8u2qFR56 Li3Ji2yFVyjoeHG0rcPSh4VgrXRRzAgpjWyA04sNa6Yckq8o4EcMdMdWSJyWBMFx +AdKM2cmN2ikFh+Wy0jNzIBnrhEjpECPZyHqO9oYE/9xh8e/CNpxYojKhpt2lBRC 4dL+FIxwTh9zr0lceThDL5jR0Bo6iHYomBSAgEIU+aXnYnuw6lhk3+OuJpvw9tIA EzfvDqloSmgZWGf5qT50zRTRC/baSXwrMxwQe2nVS6W+e+gSkp5BLySoINkXcOyu kjkflP9Vt/AIhXje5GtUTnxhisREmLI/HclQAwR/PaGPzNQF5sav+tFBkre1eKnb I8KBfiw5F2Ind65ot+59mhQySjWrxW/WfOWuhFE+p3UmnezgHKJA6vDX5HdigXR6 zN7Cq9K0Pj8vArBAwbZcBWLBxKuuA491hqiH/7a4vNWoSL819Bg3x8CN0tw5MMuy TKgbirEggBmwTqI7GqcQku4x9+h//r3CYxQmyONz4pIcAGMdI1sV6XwtpRhxnXQR 7cEYAttFaTBuTqZLYF+U70gc6nR3yJM7L31j2IfpIw= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7HE5jak085_O for ; Thu, 29 Mar 2018 00:37:12 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id B5C611F8 for ; Thu, 29 Mar 2018 00:37:12 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 990CD256B for ; Thu, 29 Mar 2018 00:37:12 +0200 (CEST) Received: by silverfish.pri (Postfix, from userid 1000) id 35A8F20840A2; Thu, 29 Mar 2018 09:37:08 +1100 (AEDT) From: Brian May To: notmuch@notmuchmail.org Subject: Re: New Python bindings (was: Crash with Python bindings) In-Reply-To: <87k1twco4w.fsf@tesseract.cs.unb.ca> References: <5694CA65.8010400@fastmail.net> <20160112102329.4269.20741@thinkbox.jade-hamburg.de> <20160112185107.GA21580@odin.tremily.us> <87k1ucp6xb.fsf@tethera.net> <87po3x4tuc.fsf@thinkbox.jade-hamburg.de> <87bmf8fyy8.fsf@silverfish.pri> <87k1twco4w.fsf@tesseract.cs.unb.ca> Date: Thu, 29 Mar 2018 09:37:08 +1100 Message-ID: <878tabg73f.fsf@silverfish.pri> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 22:37:18 -0000 David Bremner writes: > 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 believe that is the purpose of Python Wheels. https://pythonwheels.com/ pypi is the defecto standard for distributing Python code for use in Python applications. It means packages that use notmuch just need to list it as a dependancy in 'requirements.txt' and a 'pip install -r requirements.txt' will install everything required (if inside a virtualenv no root access required even). There are also various solutions to get automatic deploys to pypi, for example through travis: https://docs.travis-ci.com/user/deployment/pypi/ Unfortunately, I think many people will not even consider using a python library unless it has up-to-date bindings available on pypi. -- Brian May https://linuxpenguins.xyz/brian/