Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 19ACE431FD0 for ; Wed, 24 Aug 2011 00:21:04 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.09 X-Spam-Level: X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0mmKaVcnJktb for ; Wed, 24 Aug 2011 00:21:02 -0700 (PDT) Received: from homiemail-a21.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by olra.theworths.org (Postfix) with ESMTP id 74914431FB6 for ; Wed, 24 Aug 2011 00:21:02 -0700 (PDT) Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id A8DAF300080; Wed, 24 Aug 2011 00:21:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject :in-reply-to:references:date:message-id:mime-version: content-type; q=dns; s=sspaeth.de; b=CsuIKQdDniVZgNOMNZ5rumQJtZ8 ARMEg0E6IM+0jc2ncdnbo00DNGSn6ZtQequAHng9DKSzsOmiXBlYAOz3jqyM0Xgk HWmbH2628rEO5ahqqDYsMyI2BQYWNBS0xBIqltiBYJ0/rcjL3w+entzBGz8OPt6/ VMHWOFr32AMd60Gs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to :subject:in-reply-to:references:date:message-id:mime-version: content-type; s=sspaeth.de; bh=Wd5ePiWwrCDFiBkMnPLjcXWcLDQ=; b=C oZZJMmBItfv5RL+snsxnrEFOyI0xqID4YxLLtA3f6wgKvcCEySAM4AS5rpujN/Wq vG+kZ0+Ffe91AoeXLiDhXYAi6ly/GIlqXDrLsa5suv+bkbaOWU+2jlSb4vS2qKu/ bfy850dK66KZRox+Cbz9cf2tUAuZIT+lMlLNK0+x5k= Received: from spaetzbook.sspaeth.de (mtec-hg-docking-1-dhcp-21.ethz.ch [129.132.133.21]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fax@sspaeth.de) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPSA id 01100300074; Wed, 24 Aug 2011 00:20:58 -0700 (PDT) Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation); Wed, 24 Aug 2011 09:20:57 +0200 From: Sebastian Spaeth To: Michael Hudson-Doyle , notmuch@notmuchmail.org, David Bremner Subject: Re: [PATCH] Do not import notmuch in setup.py (again). In-Reply-To: <87d3fvvdqp.fsf@canonical.com> References: <87d3fvvdqp.fsf@canonical.com> User-Agent: Notmuch/0.7-19-gee4579a (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Wed, 24 Aug 2011 09:20:51 +0200 Message-ID: <87zkizxoks.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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, 24 Aug 2011 07:21:04 -0000 --=-=-= On Wed, 24 Aug 2011 12:45:34 +1200, Michael Hudson-Doyle wrote: > Revert part of 8826f. As explained in c39b492c, importing notmuch in setup.py breaks make -f debian/rules clean in an environment that does not have notmuch installed already. Ahh, sorry, I must have missed that patch (or forgotten about it). I solved this now by having the version number in version.py (which contains nothing else, so David Bremner can easily overwrite it with makefile magic :-)). @David, feel free to automagically modify (or overwrite) bindings/python/notmuch/version.py. We read in version.py using execfile() and verify that getting the version number actually worked. Sorry, I did not apply your patch as I had fixed this before even seeing your patch. Sebastian --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk5UplMACgkQVYX1jMgnoGJLAgCghA9aQYqhbQITTtJFsgxDJWs1 TQkAnRyKDj53120zBF3NP4OTiWHqtkF+ =+Tb7 -----END PGP SIGNATURE----- --=-=-=--