summaryrefslogtreecommitdiff
path: root/python/setup.py.in
diff options
context:
space:
mode:
authortamara <tamara@jozsi.(none)>2009-08-24 11:17:16 +0200
committertamara <tamara@jozsi.(none)>2009-08-24 11:17:16 +0200
commit77bc3790fa9e781ad26ec881175d22d807e16acf (patch)
treee6c3ba8cea92ecb021c523e125b5c658ed876263 /python/setup.py.in
parent6be4b0143793ab5ceebc5d9d6bbe5c2f1333a0d2 (diff)
python extension added
Diffstat (limited to 'python/setup.py.in')
-rw-r--r--python/setup.py.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/python/setup.py.in b/python/setup.py.in
new file mode 100644
index 0000000..f7055d5
--- /dev/null
+++ b/python/setup.py.in
@@ -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])
+
+