python extension added

This commit is contained in:
tamara
2009-08-24 11:17:16 +02:00
parent 6be4b01437
commit 77bc3790fa
5 changed files with 837 additions and 3 deletions

14
python/setup.py.in Normal file
View File

@@ -0,0 +1,14 @@
from distutils.core import setup, Extension
module1 = Extension('libpyzmq',
libraries = ['zmq'],
library_dirs = ['@prefix@/lib'],
include_dirs = ['@PYTHON_SETUP_INCLUDES@','@prefix@/include'],
sources = ['pyzmq.cpp'])
setup (name = 'libyzmq',
version = '@VERSION@',
description = '0MQ Python library',
ext_modules = [module1])