setup.py
changeset 104 e61305acbc68
parent 95 ca1fbee6a03c
child 105 09dc95e69ad4
equal deleted inserted replaced
103:ad32a674aa93 104:e61305acbc68
    33 
    33 
    34 	LIBS = []
    34 	LIBS = []
    35 	LIBRARIES=[]
    35 	LIBRARIES=[]
    36 	EXT_MODULES = []
    36 	EXT_MODULES = []
    37 	EXT_KWARGS = {}
    37 	EXT_KWARGS = {}
    38 	DEFINE_MACROS=[('CHAR_SIZE', 16)]
    38 	DEFINE_MACROS=dict(CHAR_SIZE=16, MULTIPHASE_INIT=1)
    39 	for ev in ('DEBUG_INPUT',):
    39 	for ev in ('DEBUG_INPUT','MULTIPHASE_INIT'):
    40 		evv = os.environ.get(ev,'')
    40 		evv = os.environ.get(ev,'')
    41 		try:
    41 		try:
    42 			evv = int(evv)
    42 			evv = int(evv)
    43 		except:
    43 		except:
    44 			pass
    44 			pass
    45 		else:
    45 		else:
    46 			if evv:
    46 			DEFINE_MACROS[ev] = evv
    47 				DEFINE_MACROS.append((ev,evv))
    47 	DEFINE_MACROS = list(DEFINE_MACROS.items())
    48 
    48 
    49 	#building pyRXP
    49 	#building pyRXP
    50 	if sys.platform=="win32":
    50 	if sys.platform=="win32":
    51 		LIBS=['wsock32']
    51 		LIBS=['wsock32']
    52 		if sys.version_info[:2]>=(3,5) and not int(os.environ.get('PYRXP35LONG','0')):
    52 		if sys.version_info[:2]>=(3,5) and not int(os.environ.get('PYRXP35LONG','0')):