1 from distutils.core import setup, Extension
3 zet_module = Extension('zet',
4 include_dirs = ['include', 'src/include', 'src/include/@OSINCLUDE@',
5 'src/include/compat' ],
7 # FIXME next should be @libdir@, but configure replaces this
8 # with the Makefile variable ${exec_prefix}. The following
9 # is a hack, which will not work if exec_prefix != prefix
10 library_dirs = ['@prefix@/lib'],
11 sources = ['src/pyzet/zetmodule.c'])
13 setup (name = 'PyZettair',
15 package_dir = { '': 'src/pyzet' },
16 description = 'This is a python wrapper for libzet',
17 py_modules = ["pzet"],
18 ext_modules = [zet_module])