tudo-astroparticlephysics / PROPOSAL

Monte Carlo Simulation propagating charged Leptons through Media as C++ Library
GNU Lesser General Public License v3.0
35 stars 21 forks source link

M1: `pip install proposal` on MacOS only works with manual `pip install cmake` #340

Open Jean1995 opened 1 year ago

Jean1995 commented 1 year ago

After conan solved the issue with boost on M1 (see here), pip install proposal should basically work now.

However, pip install proposal still fails with an error from pip:

      error: You need cmake >= 3.16

If I maunally do pip install cmake, and try pip install proposal again, then this error doesn't appear anymore. I thought that pip would automatically solve the cmake depencency?

maxnoe commented 1 year ago

Yes it should. Does the pypi distribution for some reason not contain pyproject.toml? Or is the pip Version ancient?

maxnoe commented 1 year ago

Seems to be this issue: https://github.com/scikit-build/cmake-python-distributions/issues/324