1 2 3 4 5 6 7 8 9 10 11 12 13 14
DEFS += -DPY_EXPORTS INCPATH += -I$(PYTHONPREFIX)/include/python$(PYTHONVERSION) LIBS += -lpython$(PYTHONVERSION) ifdef PY_NUMARRAY DEFS += -DPY_NUMARRAY endif ifdef PY_NUMPY DEFS += -DPY_NUMPY endif ifdef PY_NUMERIC DEFS += -DPY_NUMERIC endif