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: