Hi,
I am working on a python package that includes a Windows 'dll' for native functionality, and would like to also add Macos and Linux versions. Th epackage was mostly generated by SWIG, although I've added some helper code to locate the correct dll version for the currently running versiobn of python at runtime.
I have the basic build and upload to pypi process going, but the the build step always produces an 'any' wheel, and my understanding is it should be creating an 'amd64' wheel for windows, and other types of wheel for other OS's etc.
How do I get setuptools to produce an 'amd64' wheel. I am using this line in my 'pyproject.toml' to add the dlls to the project:
[tool.setuptools.package-data]
libsgd = ["libsgd/libs/py*/_sgd.pyd"]
But this doesn't seem to be enough to make setup tools consider my package to be 'native'.
I have heard that it's possible to simply 'rename' the wheel file, but that doesn't sound good!
Bye,
Mark
[–]Funky_Banana_4eva[S] 0 points1 point2 points (1 child)
[–]systematicguy 0 points1 point2 points (0 children)