Replies: 3 comments
-
As an alternative I've been trying to pass an extra argument from
The problem is that I could use |
Beta Was this translation helpful? Give feedback.
-
Use pypa/cibuildwheel @ GHA. It'll make you entire matrix of compliant wheels. Just using setuptools is not enough, usually, since it's not allowed to link dynamically against most things and the wheels need to be postprocessed (into |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestion! Indeed
I'm not trying to use
Sorry, I'm not sure I understand this restriction. The way we build our Linux shared library ensures that they works fine across the vast majority of Linux distributions, so that's not a reason for us to move away from Today I actually got everything working, but in a hacky way; by calling |
Beta Was this translation helpful? Give feedback.
-
I have a project which has pre-built dynamic libraries;
.dll
for Windows,.so
for Linux, and.dylib
for macOS, some for either x86-64 or AArch64. Is it feasible to create multiple.whl
distributions from onepy -m build --wheel
invocation for easy uploading to PyPI?I've tried calling
setuptools.setup()
within mysetup.py
file multiple times. Each time with a different set of libraries listed aspackage_data
. After successfully creating the first wheel for Windows (including the.dll
files) the secondsetup()
call starts collecting the files for Linux and as expected it copies.so
files but then produces an error about not finding.dll
files:I've tried removing
./build
and/or./warp_lang.egg-info
in between thesetup()
calls, but that causes other errors.Any advice on how to best go about this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions