Skip to content

Latest commit

 

History

History

metadatadtype

A dtype that stores metadata

This is a simple proof-of-concept dtype using the (as of late 2022) experimental new dtype implementation in NumPy. For now all it does it storea piece of static metadata in the dtype itself.

Building

Ensure Meson and NumPy are installed in the python environment you would like to use:

$ python3 -m pip install meson meson-python numpy build patchelf

Build with meson, create a wheel, and install it

$ rm -r dist/
$ meson build
$ python -m build --wheel -Cbuilddir=build
$ python -m pip install --force-reinstall dist/metadatadtype*.whl

The mesonpy build backend for pip does not currently support editable installs, so pip install -e . will not work.