dwavesystems / dwave-neal

An implementation of a simulated annealing sampler for general Ising model graphs in C++ with a dimod Python wrapper.
https://docs.ocean.dwavesys.com/projects/neal/en/latest
Apache License 2.0
50 stars 44 forks source link

Force (lie about) macOS 10.9 binary compatibility #71

Closed randomir closed 4 years ago

randomir commented 4 years ago

Otherwise wheels published for the latest macOS (10.15) will not be available on older platforms.

Wheels are published for target returned from distutils.util.get_platform(), which in turn uses macOS helper module, _osx_support, get_platform_osx() function, which allows the target to be overridden via build-time config variable MACOSX_DEPLOYMENT_TARGET (needs to be set before Python's built).

For more about macOS binary wheels and targets, see https://github.com/MacPython/wiki/wiki/Spinning-wheels.