underworldcode / stripy

2D spherical and Cartesian triangulation toolkit using tripack, stripack, srfpack and ssrfpack
https://underworldcode.github.io/stripy/2.0.5b2_api
GNU Lesser General Public License v3.0
53 stars 13 forks source link

Use meson to build stripy #109

Closed brmather closed 11 months ago

brmather commented 11 months ago

numpy.distutils has been deprecated in Python 3.12, so we must move to meson.

The meson.build file contains details on the source files to compile. I've updated pyproject.toml to use meson as the build backend.

brmather commented 11 months ago

Currently, this successfully builds the fortran modules (_tripack, _stripack, _srfpack, _ssrfpack) but doesn't actually build stripy...

brmather commented 11 months ago

Getting some green ticks now...

brmather commented 11 months ago

Finally getting green ticks...

@lmoresi - are you fine with me to squash and merge?

lmoresi commented 11 months ago

That was quite the adventure - happy to see this merged and then onto the next repo !!

Sent from my iPhone

On 5 Dec 2023, at 16:53, Ben Mather @.***> wrote:



Finally getting green ticks...

@lmoresihttps://github.com/lmoresi - are you fine with me to squash and merge?

— Reply to this email directly, view it on GitHubhttps://github.com/underworldcode/stripy/pull/109#issuecomment-1840059140, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADABPI7WR2NJELEOD3V667DYH2ZDZAVCNFSM6AAAAAA7SWRJOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBQGA2TSMJUGA. You are receiving this because you were mentioned.Message ID: @.***>