Files
uwsgi/plugins/python32/uwsgiplugin.py
2011-05-09 20:18:49 +02:00

13 lines
546 B
Python

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