setup.py
changeset 40383 a9e303dcd1e1
parent 40273 3b275f549777
child 40397 36b134c436b8
equal deleted inserted replaced
40382:bd1ec1e36bf0 40383:a9e303dcd1e1
  1061     extra['zipfile'] = 'lib/library.zip'
  1061     extra['zipfile'] = 'lib/library.zip'
  1062 
  1062 
  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()
  1070     if version:
  1070     if version:
  1071         version = version[0]
  1071         version = version[0]