Files
uwsgi/plugins/python31/uwsgiplugin.py
2010-10-25 08:51:52 +02:00

13 lines
534 B
Python

import os,sys
NAME='python31'
GCC_LIST = map(lambda x: '../python/' + x, ['python_plugin', 'pyutils', 'pyloader', 'wsgi_handlers', 'wsgi_headers', 'wsgi_subhandler', 'gil', 'uwsgi_pymodule'])
CFLAGS = os.popen('python3.1-config --cflags').read().rstrip().split()
CFLAGS.append('-Wno-unused-parameter')
CFLAGS.append('-Wno-strict-prototypes')
CFLAGS.append('-Dpython_plugin=python31_plugin')
LDFLAGS = os.popen('python3.1-config --ldflags').read().rstrip().split()
LIBS = os.popen('python3.1-config --libs').read().rstrip().split()