They have a wheel per platform and pip/conda select the correct one on install.
I've been looking for another approach. From what I've read, the python wheel
package can do what I want, but it is still a mystery to me how.
Has anyone done this and know of a project I can learn from? I haven't been
able to find an example in the python or nim public package lists.
> For this python packaging scheme to work the c files generated by nim and
> nimpy need to compile on all the target platforms, and the list of source
> files to compile must to be the same on all the target platforms.
Well you need to find some other scheme that works then as the list of sourc
The nimformat project on github uses nim with nimpy to build a python module
that can be packaged and installed with python's package manager (pip). The
package includes the c source files and pip compiles them to build the python
module on the target machine.
[https://github.com/UNIcodeX/nimfo