aburrell / apexpy

A Python wrapper for Apex coordinates
MIT License
34 stars 25 forks source link

ENH: meson bug reporting #130

Open aburrell opened 6 months ago

aburrell commented 6 months ago

Requested feature

Update the installation instructions for more possible failure conditions

The problem or gap this feature will address

Meson will usually provide a short error when failing due to something in the set-up, with more info in the log. Accessing this can be tricky, though. See https://github.com/mesonbuild/meson-python/issues/246

The desired solution

To make the meson log visible, you need to invoke: pip install . --config-settings=builddir=build

Possible alternatives

Make a pure python version of the code.

Additional context

Found on OS X Big Sur, in a situation where developer tools needed to be reinstalled. The visible error was something like "compiler doesn't work", but the meson log had more detailed info that made a useful google search possible. https://discourse.mc-stan.org/t/compiling-error-after-upgrading-to-macos-big-sur/19309/4