NOAA-EMC / NCEPLIBS-bufr

The NCEPLIBS-bufr library contains routines and utilites for working with the WMO BUFR format.
Other
40 stars 19 forks source link

Python wrapper doesn't build for Python 3.12+ #561

Closed rmclaren closed 4 months ago

rmclaren commented 5 months ago

Unfortunately the numpy.distutils package has been deprecated (used in the setup.py script). As a result the python bindings will not build on machines running the newest version of python..

jbathegit commented 4 months ago

Sorry if I'm missing something or if I'm just being dense, but I can't seem to find the setup.py script that you're referencing. Is it somewhere in the python subdirectory?

rmclaren commented 4 months ago

NCEPLIBS-bufr/python/setup.py.in I guess it gets copied to the build directory as setup.py.

jbathegit commented 4 months ago

I still don't see that anywhere. The latest develop branch of the library only has the following. Is it possible you're looking at an older clone of the repository?

Capture

rmclaren commented 4 months ago

Looks like someone already converted to use meson instead of distutils... Sorry..