diff --git a/pyproject.toml b/pyproject.toml index f78b00bb9..6cefe5689 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,25 +1,39 @@ +[build-system] +requires = [ "hatchling",] +build-backend = "hatchling.build" + [project] name = "gvsbuild" version = "2024.10.0" description = "GTK stack for Windows" -authors = [ - { name = "Ignacio Casal Quinteiro", email = "qignacio@amazon.com" }, - { name = "Dan Yeaw", email = "dan@yeaw.me" } -] -license = "GPL-2.0-only" readme = "README.md" +requires-python = "<4.0,>=3.9" classifiers = [ "Development Status :: 5 - Production/Stable", - "Topic :: Software Development :: Build Tools", "Environment :: X11 Applications :: GTK", "Operating System :: Microsoft :: Windows", + "Topic :: Software Development :: Build Tools", ] dependencies = [ "build >=0.9,<1.3", "typer >=0.6.1,<0.13.0", "setuptools >=69.2,<75.0; python_version >= \"3.12\"", ] -requires-python = ">=3.9,<4.0" +dynamic = [] + +[project.license] +file = "COPYING" + +[[project.authors]] +name = "Ignacio Casal Quinteiro" +email = "qignacio@amazon.com" + +[[project.authors]] +name = "Dan Yeaw" +email = "dan@yeaw.me" + +[project.scripts] +gvsbuild = "gvsbuild.main:run" [project.optional-dependencies] outdated = [ @@ -27,9 +41,6 @@ outdated = [ "packaging >=21.3,<25.0", ] -[project.scripts] -gvsbuild = 'gvsbuild.main:run' - [[tool.mypy.overrides]] module = "lastversion" ignore_missing_imports = true @@ -71,7 +82,7 @@ extend-select = ["I"] max-complexity = 20 [tool.ruff.lint.flake8-bugbear] -extend-immutable-calls = ["typer.Argument", "typer.Option"] +extend-immutable-calls = [ "typer.Argument", "typer.Option",] [tool.uv] dev-dependencies = [ @@ -79,7 +90,3 @@ dev-dependencies = [ "pytest >=7.1.3,<9.0.0", "tox >=4.1.2,<5.0.0", ] - -[build-system] -requires = ["hatchling"] -build-backend = "hatchling.build"