aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/setup.py
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2012-04-04 23:27:01 -0300
committerDavid Bremner <bremner@debian.org>2012-04-04 23:27:01 -0300
commit4adefd4c497a1977db36317ed34c406565fb201d (patch)
tree1d1d7c6cea688d8ef71f70a9a022165f60be3140 /bindings/python/setup.py
parent954cf155718a5a7576a7a578d836b76e15d312a4 (diff)
parent331f0cac61802606e0103c35453656d2299cbfe3 (diff)
Merge tag 'debian/0.12-1' into squeeze-backports
notmuch Debian 0.12-1 upload (same as 0.12 + debian changelog fix) Conflicts: debian/changelog
Diffstat (limited to 'bindings/python/setup.py')
-rw-r--r--bindings/python/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/setup.py b/bindings/python/setup.py
index 286fd196..2e58dab1 100644
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -7,7 +7,7 @@ from distutils.core import setup
# get the notmuch version number without importing the notmuch module
version_file = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'notmuch', 'version.py')
-execfile(version_file)
+exec(compile(open(version_file).read(), version_file, 'exec'))
assert __VERSION__, 'Failed to read the notmuch binding version number'
setup(name='notmuch',