From 20c14d09dba11e8fcdc23bdb0a74bfa1332bceef Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 24 Nov 2025 03:12:00 -0800 Subject: [PATCH] build: drop support for Python v3.7 and v3.8 - allows for adoption of PEP639 (about license info in package metadata). - deleted dummy setup.py since it was only there for archaic versions of Python (and corresponding pip versions). Note, Python v3.9 is still supported, but it just reached End-of-Life. --- pyproject.toml | 11 +++-------- setup.py | 5 ----- 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml index 2863242..3d50d9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,14 +4,14 @@ [build-system] requires = [ - "setuptools>=61", + "setuptools>=77", "wheel", "setuptools-scm", ] [project] name = "circuitpython-nrf24l01" -requires-python = ">=3.7" +requires-python = ">=3.9" description = "CircuitPython driver library for the nRF24L01 transceiver" readme = "README.rst" authors = [ @@ -27,18 +27,13 @@ keywords = [ "radio", "transceiver", ] -license = {text = "MIT"} +license = "MIT" classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware", - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", ] dynamic = ["version", "dependencies"] diff --git a/setup.py b/setup.py deleted file mode 100644 index f38892e..0000000 --- a/setup.py +++ /dev/null @@ -1,5 +0,0 @@ -"""All setup/install info is now in pyproject.toml""" - -from setuptools import setup - -setup()