electronstudio / raylib-python-cffi

Python CFFI bindings for Raylib
http://electronstudio.github.io/raylib-python-cffi
Eclipse Public License 2.0
142 stars 29 forks source link

Fix setup tools to produce correctly named wheel files #25

Closed electronstudio closed 3 years ago

electronstudio commented 3 years ago

Currently we build wheel file with:

python3 setup.py bdist_wheel

This produces dist/raylib-3.5.0-py3-none-any.whl. It should produce something with e.g. manylinux1_x86_64 rather than any architecture.

akamensky commented 3 years ago

Checking:

This is done by ext_modules section in setup.py: https://docs.python.org/3/distutils/setupscript.html#describing-extension-modules

Which is currently absent from it. This part is probably better done by someone more familiar with building raylib from source.