pybind / cmake_example

Example pybind11 module built with a CMake-based build system
Other
626 stars 220 forks source link

feat: support Universal2 wheels #48

Closed henryiii closed 3 years ago

henryiii commented 3 years ago

This fixes setup.py to handle ARCHFLAGS, and verified that it works for universal2 wheels (they are twice the size; also manually tested on an Apple Silicon machine).

Uses PyTest and enables testing when making wheels.