Wrapping C functions in Pyrex and distutils problem

Diez B. Roggisch deets at web.de
Wed Nov 9 11:26:57 EST 2005


Use  additional_objects:


--------
LINKBASE = "link-4.1b"

setup(
  name = "LinkWrapper",
  ext_modules = [
    Extension("link", ["link.pyx"],
              include_dirs = ["%s/include" % LINKBASE],
              extra_objects = glob.glob("%s/obj/*" % LINKBASE),
              )
    ],
  cmdclass = {'build_ext': build_ext}
)
---------

-- 

Regards,

Diez




More information about the Python-list mailing list