Use CIBUILDWHEEL with pure python + platform specific precompiled binary? #1510
Unanswered
yusuf-jkhan1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a slightly odd situation. I'm creating a wrapper for a small command line program called azcopy. I want this he user to be able to do a simple pip install and have that include the pre-compiled binary since it is very lightweight anyways.
I am able to get this running for windows, mac and mac silicon. For Linux however I am unable to. I tried to use cibuildwheel, but the auditwheel step throws an error:
Error: Command ['sh', '-c', 'auditwheel repair -w /tmp/cibuildwheel/repaired_wheel /tmp/cibuildwheel/built_wheel/azpype-0.2-py2.py3-none-linux_x86_64.whl'] failed with code 1.
I think because of this which is the last thing in the log right before this error:
INFO:auditwheel.main_repair:This does not look like a platform wheel, no ELF executable or shared library file (including compiled Python C extension) found in the wheel archive
Is there a way that I can use cibuildwheel (or is there a different way I should be doing this?) so that my pip installing downloads the appropriate platform specific precompiled binary ? I'm trying to avoid extra steps to be able to use this package.
Beta Was this translation helpful? Give feedback.
All reactions