From 59092b884e21913fa0e4e26b9b65ced28e982bda Mon Sep 17 00:00:00 2001 From: "Joshua D. Boyd" Date: Tue, 9 Jan 2024 02:24:40 -0500 Subject: [PATCH] Work on updating to pyproject.toml. Building with python -m build now works. --- pyproject.toml | 17 +++++++++++++++++ setup.py | 3 --- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index de11f32..9b5e635 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,3 +5,20 @@ requires = [ ] build-backend = "setuptools.build_meta" +[project] +name = "python-lzo" +version = "1.15" +authors = [ + { name="Markus F.X.J. Oberhumer", email="markus@oberhumer.com" }, + { name="Joshua D. Boyd", email="jdboyd@jdboyd.net" }, + +] +description = "Python bindings for the LZO data compression library" +readme = "README.rst" +requires-python = ">=3.7" +#dynamic = ["keywords"] +license = {text = "GPL"} + +[project.urls] +"Homepage" = "https://github.com/jd-boyd/python-lzo" +"Bug Tracker" = "https://github.com/jd-boyd/python-lzo/issues" diff --git a/setup.py b/setup.py index 4897930..da2183d 100644 --- a/setup.py +++ b/setup.py @@ -124,7 +124,4 @@ def get_kw(**kw): return kw this very high speed.""", ) -if distutils.__version__ >= "1.0.2": - setup_args["platforms"] = "All" - setup(**setup_args)