]> www.infradead.org Git - users/sagi/libnvme.git/commit
python: add __version__ to libnvme python package
authorMartin Belanger <martin.belanger@dell.com>
Mon, 11 Jul 2022 12:28:27 +0000 (08:28 -0400)
committerDaniel Wagner <dwagner@suse.de>
Tue, 12 Jul 2022 09:38:59 +0000 (11:38 +0200)
commitf1f5bcac7a1e55f5eb8e77860b16617535e7ee9d
tree9e8af859cb433107a1a1537f1c8a923244905faf
parente99b63edd2fbb605d26f1f313c63ca37eb9cca36
python: add __version__ to libnvme python package

It is customary for Python packages to provide a __version__ attribute.

It's not enough just to copy the files to the build directory, we need
also to run the configure step.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
[dwagner: Added information why meson.build has to be changed]
Singed-off-by: Daniel Wagner <dwagner@suse.de>
libnvme/__init__.py
libnvme/meson.build