From 7803cf2606f06c10bc26797cc2b36f6813fe1162 Mon Sep 17 00:00:00 2001 From: Avasam Date: Fri, 19 Jun 2026 10:49:00 -0400 Subject: [PATCH] flit_core build backend --- pyproject.toml | 8 ++++---- src/pywinctl/__init__.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2a56331..073bd92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,9 @@ [build-system] -requires = ["setuptools>=77.0.3", "setuptools-scm"] -build-backend = "setuptools.build_meta" +requires = ["flit_core >=3.2,<4"] +build-backend = "flit_core.buildapi" -[tool.setuptools.dynamic] -version = { attr = "pywinctl.__version__" } # any module attribute compatible with ast.literal_eval +[tool.flit.module] +name = "pywinctl" [project.urls] Homepage = "https://github.com/Kalmat/PyWinCtl" diff --git a/src/pywinctl/__init__.py b/src/pywinctl/__init__.py index 0615a18..95af612 100644 --- a/src/pywinctl/__init__.py +++ b/src/pywinctl/__init__.py @@ -15,7 +15,7 @@ "getAllScreens", "getScreenSize", "getWorkArea", "getMousePos" ] -__version__ = "0.4.01" +__version__ = "0.4.1" def version(numberOnly: bool = True) -> str: