Open thomasarsouze opened 1 month ago
Done, see e5e4872.
This was done a bit too fast actually !
We are facing this problem where numpy
is now needed for the setup, but is not installed in a clean environment.
Setuptool
official solution is to add a pyproject.toml
file. This is what is proposed in the PR, although not ideal right now as there is a mix of pyproject.toml
and setup.py
(and setup.cfg
). All this should be merged into a single pyproject.toml
later on.
OK, thanks. In previous versions of forestatrisk we also needed to install numpy previously to forestatrisk. But it is cleaner that way. I let the issue open until we merge pyproject.toml and setup.py.
forestatrisk
currently usesnumpy.distutils
which is now deprecatedFollow the migration advice to get rid of it, and make
forestatrisk
work withnumpy>=1.23
andpython>=3.12
.