summaryrefslogtreecommitdiff
path: root/distutils2/command/bdist_msi.py
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2012-02-09 21:05:47 +0100
committer?ric Araujo <merwok@netwok.org>2012-02-09 21:05:47 +0100
commitce3d2240908c84bbe7b9762b09ba3ffcfe44e7a5 (patch)
treea14fae0ba4ac5a3a18ba741abb1edf8a699936ce /distutils2/command/bdist_msi.py
parent08fd2b17458378aa59677e439a9fc69f38147061 (diff)
parent90b039c8d93fe3fb157fc4fe5bb47265dd8a4399 (diff)
downloaddisutils2-ce3d2240908c84bbe7b9762b09ba3ffcfe44e7a5.tar.gz
Merge fixes for #13462 and others from default
Diffstat (limited to 'distutils2/command/bdist_msi.py')
-rw-r--r--distutils2/command/bdist_msi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils2/command/bdist_msi.py b/distutils2/command/bdist_msi.py
index 43fbe66..ddbc61f 100644
--- a/distutils2/command/bdist_msi.py
+++ b/distutils2/command/bdist_msi.py
@@ -203,7 +203,7 @@ class bdist_msi(Command):
target_version = self.target_version
if not target_version:
assert self.skip_build, "Should have already checked this"
- target_version = sys.version[0:3]
+ target_version = '%s.%s' % sys.version_info[:2]
plat_specifier = ".%s-%s" % (self.plat_name, target_version)
build = self.get_finalized_command('build')
build.build_lib = os.path.join(build.build_base,