From d9920c57cbd943cbfa8778dbd52a1ffbea818114 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 11 Apr 2025 02:03:20 +0200 Subject: [PATCH] Cleanup packaging config --- pyproject.toml | 3 +-- requirements_commit.txt | 2 +- requirements_test.txt | 2 +- setup.cfg | 5 ----- setup.py | 5 ----- 5 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml index f9762168e..1f09c7438 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools~=78.1", "wheel~=0.45.0"] +requires = ["setuptools~=78.1"] build-backend = "setuptools.build_meta" [project] @@ -38,7 +38,6 @@ dependencies = [ "Bug Reports" = "https://github.com/plugwise/python-plugwise/issues" [tool.setuptools] -platforms = ["any"] include-package-data = true [tool.setuptools.package-data] diff --git a/requirements_commit.txt b/requirements_commit.txt index 7b3aaa0ac..645712841 100644 --- a/requirements_commit.txt +++ b/requirements_commit.txt @@ -1,4 +1,4 @@ -# Import from setup.py +# Import from project.dependencies -e . # Minimal requirements for committing # Versioning omitted (leave this up to HA-core) diff --git a/requirements_test.txt b/requirements_test.txt index 9dbbfefc7..788f4c116 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,4 +1,4 @@ -# Import from setup.py +# Import from project.dependencies -e . # Versioning omitted (leave this up to HA-core) pytest-asyncio diff --git a/setup.cfg b/setup.cfg index 00dcfcaef..2c3d87f13 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,4 @@ -# Setuptools v62.3 doesn't support editable installs with just 'pyproject.toml' (PEP 660). # Added Codespell since pre-commit doesn't process args correctly (and python3.11 and toml prevent using pyproject.toml) check #277 (/#278) for details -# Keep this file until it does! - -[metadata] -url = https://github.com/plugwise/python-plugwise [codespell] # Most of the ignores from HA-Core upstream diff --git a/setup.py b/setup.py deleted file mode 100644 index abebb8815..000000000 --- a/setup.py +++ /dev/null @@ -1,5 +0,0 @@ -"""Plugwise module setup.""" - -from setuptools import setup - -setup()