Unable to build an extension

Hello,

Trying to build a Python extension for distribution. It is highly required to prepare a .zip file so that users would be able to install it quickly.

After performing make package on MacOS, I have a .tar.gz file. But when I try to install it to a Windows machine, it does not appear in the list of modules. Took a look into the archive and discovered that it contains some kind of application (Slicer.app) with the module files inside. It does not seem to be exactly the same as in the folder with modules on the Windows machine, so I am wondering: am I doing smth wrong? Can a module archived in MacOS be used on Windows machines in general?

Thanks!

The extension builds are platform-specific (even if they are just python) since they take into account the possibility of machine-code binary files that need to be handle correctly for the platform. One option is to submit to the extension process (public) and then correct packages will be made for each platform.

But another option is just to bundle up the python code and give it to users directly. I don’t think there’s a good example of that, but it shouldn’t be too hard.