python24, python27, python20, python31, python32 plugins

This commit is contained in:
roberto@fiorenzo
2010-10-25 08:51:52 +02:00
parent bee3ba73d8
commit 1a6324e825
6 changed files with 62 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
import os,sys
NAME='python27'
GCC_LIST = map(lambda x: '../python/' + x, ['python_plugin', 'pyutils', 'pyloader', 'wsgi_handlers', 'wsgi_headers', 'wsgi_subhandler', 'gil', 'uwsgi_pymodule'])
CFLAGS = os.popen('python2.7-config --cflags').read().rstrip().split()
CFLAGS.append('-Wno-unused-parameter')
CFLAGS.append('-Wno-strict-prototypes')
CFLAGS.append('-Dpython_plugin=python27_plugin')
LDFLAGS = os.popen('python2.7-config --ldflags').read().rstrip().split()
LIBS = os.popen('python2.7-config --libs').read().rstrip().split()