-
-
Notifications
You must be signed in to change notification settings - Fork 3
Packaging for Windows #1
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
For the build process check out cibuildwheel which will also handle multiple Python versions (and manylinux, see #3). We will still need Windows and macOS for local testing tho. It is common practice on these two OSes to bundle the shared libraries along with the package (how irony). These include:
The best example I can think of at the moment are pygame and pyGLFW. |
This might also help: https://github.com/cython/cython/wiki/CythonExtensionsOnWindows |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Docker images can be a good alternative to packaging/building all dependencies on all platforms. |
@yoyonel, thank you for paying attention to this issue. Could you please elaborate on how Docker can be used to build native wheel on either macOS or Windows? I don't really have much experience with Docker containing non-GNU platform. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Also, are you sure that |
I'm glad that you got some of your own findings 😃 Since I'm not on Windows, I can only answer based on the output of appvoyer:
|
I am currently only have GNU/Linux installed on my machine. If you wanna help out, please leave a comment.
The process is as simple as
python setup.py bdist_wheel
. The real challenge lies on how to install all the dependencies (alure and the libraries it depends on) with environmental variables correctly configured to get our little Cython module to compile.Edit: distribution for macOS has its own tracker at GH-63 now. Irrelevant comments are now hidden to make the thread easier for guests to follow.
The text was updated successfully, but these errors were encountered: