Replies: 1 comment 1 reply
-
Hi @inlann, I am afraid that packages with binary extensions are naturally non-universal. You can try to have a look on cibuildwheel for ways of building different versions of your extensions for multiple systems. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello:
I developed a Python extension module in C++ and generated a wrap cxx file for it using swig.
I'm trying to build a distribution with the setuptools. I'm using the Python 3.10 and my
setup.py
is:The command
python3 setup.py bdist build_ext --inplace
generates aSharedADS.py
and a_SharedADS.cp310-win_amd64.pyd
. But the_SharedADS.cp310-win_amd64.pyd
does not work on other machines that do not use Python 3.10 which means I need to rebuild it for different Python version.Is there any way to build an universal distribution for different Python version?
Beta Was this translation helpful? Give feedback.
All reactions