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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a project which has pre-built dynamic libraries;
.dllfor Windows,.sofor Linux, and.dylibfor macOS, some for either x86-64 or AArch64. Is it feasible to create multiple.whldistributions from onepy -m build --wheelinvocation for easy uploading to PyPI?I've tried calling
setuptools.setup()within mysetup.pyfile multiple times. Each time with a different set of libraries listed aspackage_data. After successfully creating the first wheel for Windows (including the.dllfiles) the secondsetup()call starts collecting the files for Linux and as expected it copies.sofiles but then produces an error about not finding.dllfiles:I've tried removing
./buildand/or./warp_lang.egg-infoin 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