From: W. Trevor King Date: Thu, 25 Oct 2012 23:37:37 +0000 (-0400) Subject: release.py: use current Python executable for ./be invocation X-Git-Tag: 1.1.0~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=20c1de34ba164d6ae63557e4e92cf5d1bee5c04c;p=be.git 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 --- 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