somexlab / fastddm

Python library for Differential Dynamic Microscopy analysis
https://fastddm.readthedocs.io/
GNU General Public License v3.0
3 stars 0 forks source link

Fix Windows PyPI wheels #223

Closed enrico-lattuada closed 5 months ago

enrico-lattuada commented 5 months ago

Description

This PR adds manual specification of the Python version against which wheels are built. It also introduces the possibility to trigger the wheel creation workflow manually.

Motivation and context

On Windows, we could not import the fastddm library correctly when it was installed using the wheels from PyPI. The shared _core library was compiled with the wrong Python version.

Resolves #221

How has this been tested?

Not tested, requires manual triggering which is introduced here.

Change log

* Fixes

* Windows wheels for ``python!=3.9`` work properly now.