Skip to content

Commit 521d8c3

Browse files
authored
Merge pull request #423 from martin-belanger/eflag-3
python: add __version__ to libnvme python package
2 parents 8ccfec6 + f1f5bca commit 521d8c3

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

libnvme/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
#
3+
# This file is part of libnvme.
4+
# Copyright (c) 2022 Dell Inc.
5+
#
6+
# Authors: Martin Belanger <[email protected]>
7+
8+
__version__ = @PROJECT_VERSION@
9+
__git_version__ = @GIT_VERSION@

libnvme/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if have_python_support
4646
configure_file(
4747
input: '__init__.py',
4848
output: '__init__.py',
49-
copy: true,
49+
configuration: conf,
5050
install_dir: python3.get_install_dir(pure: false, subdir: 'libnvme'),
5151
)
5252

0 commit comments

Comments
 (0)