Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- name: Build sdist
run: pipx run build --sdist

- name: Validate sdist
run: pipx run twine check dist/*.tar.gz

- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz
Expand Down
33 changes: 22 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[build-system]
requires = ["mesonpep517", "wheel", "meson", "ninja"] # PEP 508 specifications.
build-backend = "mesonpep517.buildapi"
build-backend = 'mesonpy'
requires = ['meson-python']

[project]
name = "libnvme"
dynamic = ["version"]
description = "python bindings for libnvme"
readme = "README.md"
requires-python = ">=3.6"
license = { text = "LGPL-2.1-or-later" }

authors = [
{ name = "Hannes Reinecke", email = "[email protected]" }
]

keywords = ["nvme", "storage", "bindings"]

[tool.mesonpep517.metadata]
author="Hannes Reinecke"
author-email="[email protected]"
classifiers = [
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
description="Provides library functions for accessing and managing nvme devices on a Linux system."
description-file="README.md"
home-page = "https://github.com/linux-nvme/libnvme"
license="LGPL-2.1-or-later"
requires-python=">=3.6"
summary="python bindings for libnvme"

dependencies = []

[project.urls]
"Homepage" = "https://github.com/linux-nvme/libnvme"
"Source" = "https://github.com/linux-nvme/libnvme"
"Bug Tracker" = "https://github.com/linux-nvme/libnvme/issues"