From: David Bremner Date: Sat, 9 May 2015 06:13:50 +0000 (+0200) Subject: [PATCH] python: use absolute import for SOVERSION X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5284c6b3b83b391cd93f9b228a616cff4bb71856;p=notmuch-archives.git [PATCH] python: use absolute import for SOVERSION --- diff --git a/04/c010c6dcaf2048f8cce32e8d24f962a37e9019 b/04/c010c6dcaf2048f8cce32e8d24f962a37e9019 new file mode 100644 index 000000000..768b64f57 --- /dev/null +++ b/04/c010c6dcaf2048f8cce32e8d24f962a37e9019 @@ -0,0 +1,68 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id A5BE56DE1649 + for ; Fri, 8 May 2015 23:15:36 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.315 +X-Spam-Level: +X-Spam-Status: No, score=0.315 tagged_above=-999 required=5 tests=[AWL=0.305, + T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] 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 hivHekXoCqU9 for ; + Fri, 8 May 2015 23:15:33 -0700 (PDT) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id 9B85D6DE1641 + for ; Fri, 8 May 2015 23:15:33 -0700 (PDT) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1Yqy1n-0005ej-Do; Sat, 09 May 2015 06:14:23 +0000 +Received: (nullmailer pid 24214 invoked by uid 1000); Sat, 09 May 2015 + 06:13:59 -0000 +From: David Bremner +To: Lele Gaifax , notmuch@notmuchmail.org +Subject: [PATCH] python: use absolute import for SOVERSION +Date: Sat, 9 May 2015 08:13:50 +0200 +Message-Id: <1431152030-24171-1-git-send-email-david@tethera.net> +X-Mailer: git-send-email 2.1.4 +In-Reply-To: <877fslcmwk.fsf@nautilus.nautilus> +References: <877fslcmwk.fsf@nautilus.nautilus> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Sat, 09 May 2015 06:15:36 -0000 + +Apparently python3 needs this. +--- + bindings/python/notmuch/globals.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py +index 4c49d51..70cfdc3 100644 +--- a/bindings/python/notmuch/globals.py ++++ b/bindings/python/notmuch/globals.py +@@ -18,7 +18,7 @@ Copyright 2010 Sebastian Spaeth + """ + + from ctypes import CDLL, Structure, POINTER +-from version import SOVERSION ++from notmuch.version import SOVERSION + + #----------------------------------------------------------------------------- + #package-global instance of the notmuch library +-- +2.1.4 +