Lisandro Dalcin wrote:

> Or perhaps we could do thing like this:
> 
> #ifndef PYX_MODULE_NAME
> #define PYX_MODULE_NAME "mypkg.mymod"
> #endif
> 
> and use the macro PYX_MODULE_NAME in the generated sources.

It seems you are suggesting to give the possibility to set the module name
at compile time.

This would not solve my issue where I would need that the package hierarchy
is determined at runtime (because I deliver PYD files, not source files).

Now having a macro to say "use a static name" (the default, as of today) or
"determine it at runtime" is fine for me and would possibly avoid breaking
existing code.

Stephane

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to