simpeg / geoana

Interactive geoscience (mostly) analytic functions.
MIT License
22 stars 9 forks source link

Pyproject.toml #69

Closed jcapriot closed 10 months ago

jcapriot commented 10 months ago

Updates geoana in preparation for python 3.12 by removing the build dependency of numpy's distutils module.

Like discretize this makes use of a meson-python backend for building.

Enabling the extensions is slightly easier on install from the command line using meson setup options (before it required a clunky environment variable setting).

pip install . --config-settings=setup-args="-Dwith_extensions=true"

or with python build as:

python -m build -Csetup-args="-Dwith_extensions=true".

We can change the default eventually, but for now just mimicking the current behavior.

codecov[bot] commented 10 months ago

Codecov Report

Merging #69 (5fe9513) into main (0d2a7da) will increase coverage by 0.00%. The diff coverage is 75.00%.

@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   87.47%   87.48%           
=======================================
  Files          30       30           
  Lines        3067     3068    +1     
=======================================
+ Hits         2683     2684    +1     
  Misses        384      384           
Files Coverage Δ
geoana/__init__.py 75.00% <75.00%> (+2.27%) :arrow_up: