()
Returns architecture name for PyV8 binary
Returns architecture name for PyV8 binary
Returns architecture name for PyV8 binary
def get_arch():
	"Returns architecture name for PyV8 binary"
	suffix = is_python3 and '-p3' or ''
	p = lambda a: '%s%s' % (a, suffix)
	is_64bit = sys.maxsize > 2**32
	system_name = platform.system()
	if system_name == 'Darwin':
		if semver.match(platform.mac_ver()[0], '<10.7.0'):
			return p('mac106')

		return p('osx')
	if system_name == 'Windows':
		return p('win64') if is_64bit else p('win32')
	if system_name == 'Linux':
		return p('linux64') if is_64bit else p('linux32')
def get_arch ( ) : suffix = is_python3 and '-p3' or '' p = lambda a : '%s%s' % ( a , suffix ) is_64bit = sys . maxsize > 2 ** 32 system_name = platform . system ( ) if system_name == 'Darwin' : if semver . match ( platform . mac_ver ( ) [ 0 ] , '<10.7.0' ) : return p ( 'mac106' ) return p ( 'osx' ) if system_name == 'Windows' : return p ( 'win64' ) if is_64bit else p ( 'win32' ) if system_name == 'Linux' : return p ( 'linux64' ) if is_64bit else p ( 'linux32' )