Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This add a new option that allow changing the name of the python init symbol in order to bundle a bunch of cythonized python files into a single .so.
I explained the usage of this feature in the Initial post about it https://groups.google.com/forum/#!topic/cython-users/ZVrDYHAnMi8
To resume, this prevent the conflict between the same init name symbol between multiple cythonized files, when thoses files are within a single library (on android), or statically included into the final binary (on iOS, mandatory as dlopen is prohibed).
The option is named
use_fqdn_entrypoint
, default toFalse
, and is handled as a compiler directive.If i have a file at
kivy/graphics/opengl.pyx
, without the option, the entrypoint would beinitopengl
. With the option activated, it would beinitkivy_graphics_opengl
. Obviously a custom Python meta-importer is required, but it's up to the user to write it.