##// END OF EJS Templates
py3: stringify setupversion on Windows...
Matt Harbison -
r40419:a9e303dc default
parent child Browse files
Show More
@@ -1063,7 +1063,7 b' if py2exeloaded:'
1063 if os.name == 'nt':
1063 if os.name == 'nt':
1064 # Windows binary file versions for exe/dll files must have the
1064 # Windows binary file versions for exe/dll files must have the
1065 # form W.X.Y.Z, where W,X,Y,Z are numbers in the range 0..65535
1065 # form W.X.Y.Z, where W,X,Y,Z are numbers in the range 0..65535
1066 setupversion = version.split(b'+', 1)[0]
1066 setupversion = setupversion.split(r'+', 1)[0]
1067
1067
1068 if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'):
1068 if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'):
1069 version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[1].splitlines()
1069 version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[1].splitlines()
General Comments 0
You need to be logged in to leave comments. Login now