RecordEvolution / IMCtermite

Enables extraction of measurement data from binary files with extension 'raw' used by proprietary software imcFAMOS/imcSTUDIO and facilitates its storage in open source file formats
MIT License
26 stars 8 forks source link

Build pre-compiled wheel files and upload to PyPI #11

Closed ngbrown closed 2 years ago

ngbrown commented 3 years ago

Not all users will have Visual Studio build tools (on Windows) already installed. If pre-compiled wheel (.whl) files were uploaded to pip, then they wouldn't need to build at install.

mario-fink commented 3 years ago

I added a pre-built binary wheel for _winamd64 to the latest release 1.2.11 at (https://pypi.org/project/IMCtermite/#files). However, on Unix you still have to build the binary from the source distribution. Please give it a try and let me know if the installation succeeds and feel free to reopen the issue if you run into any problems.

ngbrown commented 3 years ago

@mario-fink Thanks for working on this. It is still only attempting to load the source distribution for me. Does cp39-cp39 mean the wheel will only download for Python 3.9? I'm currently using Python 3.6 because that's the compatible version that integrates with another program. Can you build for all currently supported versions of Python (3.6, 3.7, 3.8, 3.9)?

If a separate build is needed for each, you could use a GitHub action and cibuildwheel to build each wheel file.

mario-fink commented 2 years ago

By now, on both Linux and Windows there are binary wheels available for most Python 3.x distributions. Let me know if you need any extra builds and I'll add them to the workflow....

mario-fink commented 2 years ago

ef5aaac25401a38bdd64c150e59d1859d7382e44