From 20c1de34ba164d6ae63557e4e92cf5d1bee5c04c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 25 Oct 2012 19:37:37 -0400 Subject: [PATCH] release.py: use current Python executable for ./be invocation This allow you to cut a release where your system Python is not compatible with be. For example: $ python --version Python 3.2.3 $ python2.7 ./release.py 1.1.0 --- release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.py b/release.py index 7c5f51c..c9b3549 100755 --- a/release.py +++ b/release.py @@ -124,7 +124,7 @@ def set_vcs_name(be_dir, vcs_name='None'): def make_id_cache(): """Generate .be/id-cache so users won't need to. """ - invoke(['./be', 'list']) + invoke([sys.executable, './be', 'list']) def create_tarball(tag): release_name='be-%s' % tag -- 2.26.2