00001 from distutils.core import setup
00002 from distutils.extension import Extension
00003 from Cython.Distutils import build_ext
00004
00005 ext_modules = [Extension("freenect", ["freenect.pyx"],
00006 extra_objects=["../../c/build/lib/libfreenect.a"],
00007 libraries=['usb-1.0'],
00008 extra_compile_args=['-fPIC', '-I', '../../c/include/',
00009 '-I', '/usr/include/libusb-1.0/',
00010 '-I', '/usr/local/include/libusb-1.0',
00011 '-I', '/usr/local/include'])]
00012 setup(
00013 name = 'freenect',
00014 cmdclass = {'build_ext': build_ext},
00015 ext_modules = ext_modules
00016 )