> AFAIK, pyximport does not support this at all... However, it would be > really easy to enhance it. I would add a 'options' or 'config' (or > whatever name) at the end of "pyximport.install()" (or perhaps provide > a new call for this task) accepting a dictionary. That dictionary > should contain stuff to pass as kwargs to the distutils Extension, the > more important ones would be > > include_dirs > define_macros > undef_macros > library_dirs > libraries > runtime_library_dirs > > That stuff should be (after checking and perhaps sanitizing the dict > contents) passed to Extension() in > "pyximport.get_distutils_extension()".
+1, great idea _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
