setup.py
changeset 56 51219ad2b0bd
parent 50 1af7b5eec5f8
child 57 6f29c9811820
equal deleted inserted replaced
55:420b7bf3500d 56:51219ad2b0bd
    26 	EXT_KWARGS = {}
    26 	EXT_KWARGS = {}
    27 
    27 
    28 	#building pyRXP
    28 	#building pyRXP
    29 	if sys.platform=="win32":
    29 	if sys.platform=="win32":
    30 		LIBS=['wsock32']
    30 		LIBS=['wsock32']
    31 		if sys.version_info[:2]==(3,5) and not int(os.environ.get('PYRXP35LONG','0')):
    31 		if sys.version_info[:2]==(3,6) and not int(os.environ.get('PYRXP35LONG','0')):
    32 			EXT_KWARGS['extra_compile_args'] = ['/Od']
    32 			EXT_KWARGS['extra_compile_args'] = ['/Od']
    33 		#EXT_KWARGS['extra_compile_args'] = ['/Zi']
    33 		#EXT_KWARGS['extra_compile_args'] = ['/Zi']
    34 		#EXT_KWARGS['extra_link_args'] = ['/DEBUG']
    34 		#EXT_KWARGS['extra_link_args'] = ['/DEBUG']
    35 	elif sys.platform=="sunos5":
    35 	elif sys.platform=="sunos5":
    36 		LIBS=['nsl', 'socket', 'dl']
    36 		LIBS=['nsl', 'socket', 'dl']