setup.py
changeset 95 ca1fbee6a03c
parent 92 0b0a17f9d877
child 104 e61305acbc68
equal deleted inserted replaced
94:026af6b258d6 95:ca1fbee6a03c
    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 		if os.environ.get(ev,''):
    45 		else:
    46 			DEFINE_MACROS.append((ev,evv))
    46 			if evv:
       
    47 				DEFINE_MACROS.append((ev,evv))
    47 
    48 
    48 	#building pyRXP
    49 	#building pyRXP
    49 	if sys.platform=="win32":
    50 	if sys.platform=="win32":
    50 		LIBS=['wsock32']
    51 		LIBS=['wsock32']
    51 		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')):