Skip to content

Commit d8a6b84

Browse files
committed
pyproject.toml instead of setup.py for new packaging
This allows to build with meson and package for Pypi Build like this: python -m build Signed-off-by: Boris Glimcher <[email protected]>
1 parent 3e44e3d commit d8a6b84

2 files changed

Lines changed: 24 additions & 18 deletions

File tree

libnvme/setup.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

pyproject.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[build-system]
2+
requires = ["mesonpep517", "wheel", "meson", "ninja"] # PEP 508 specifications.
3+
build-backend = "mesonpep517.buildapi"
4+
5+
[tool.mesonpep517.metadata]
6+
author="Hannes Reinecke"
7+
author-email="[email protected]"
8+
classifiers = [
9+
"Intended Audience :: Developers",
10+
"Development Status :: 5 - Production/Stable",
11+
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
12+
"Programming Language :: Python :: 3",
13+
"Programming Language :: Python :: 3.6",
14+
"Programming Language :: Python :: 3.7",
15+
"Programming Language :: Python :: 3.8",
16+
"Programming Language :: Python :: 3.9",
17+
"Topic :: Software Development :: Libraries :: Python Modules",
18+
]
19+
description-file="README.md"
20+
home-page = "https://github.com/linux-nvme/libnvme"
21+
license="LGPL-2.1-or-later"
22+
requires-python=">=3.6"
23+
summary="python bindings for libnvme"
24+

0 commit comments

Comments
 (0)