Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support repairing cffi PyPy extensions #93

Closed
daa opened this issue May 22, 2018 · 1 comment
Closed

Support repairing cffi PyPy extensions #93

daa opened this issue May 22, 2018 · 1 comment

Comments

@daa
Copy link
Contributor

daa commented May 22, 2018

CFFI extensions compiled for PyPy do not export 'init' + modname nor 'PyInit_' + modname symbols but instead they export '_cffi_pypyinit_' + modname and thus they are skipped by auditwheel. However actually auditwheel can repair them. As an example one may take a look at python-snappy - it uses cffi for PyPy. And proof for using _cffi_pypyinit_ prefix may be found at cffi/recompiler.py.

@njsmith
Copy link
Member

njsmith commented May 22, 2018

Seems reasonable.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants