From 350ed1990faa540a3e091397bc387afeffcf9520 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sat, 12 Feb 2022 14:02:55 -0500 Subject: [PATCH] Switch to standardized project block --- pyproject.toml | 42 ++++++++++++++++++------------------------ 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7cf6b702..a481eaf9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,33 +2,27 @@ requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"] build-backend = "setuptools.build_meta" -[tool.flit.metadata] -module = "archinstall" -author = "Anton Hvornum" -author-email = "anton@hvornum.se" -home-page = "https://archlinux.org" -classifiers = [ "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", -"Programming Language :: Python :: 3.8", -"Programming Language :: Python :: 3.9", -"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", -"Operating System :: POSIX :: Linux", +[tool.setuptools_scm] + +[project] +name = "archinstall" +version = "2.4.0" +description = "Arch Linux installer - guided, templates etc." +authors = [ + "Anton Hvornum " ] -description-file = "README.md" -requires-python=">=3.8" +license = "GNU General Public License v3 or later (GPLv3+)" +readme = "README.md" +python = ">=3.10" +homepage = "https://archlinux.org" +repository = "https://github.com/archlinux/archinstall" +documentation = "https://archinstall.readthedocs.io/" -[tool.flit.metadata.urls] -Source = "https://github.com/archlinux/archinstall" -Documentation = "https://archinstall.readthedocs.io/" +keywords = ["packaging", "dependency", "infer", "pyproject.toml"] -[tool.flit.scripts] -archinstall = "archinstall:run_as_a_module" - -[tool.flit.sdist] -include = ["docs/","profiles"] -exclude = ["docs/*.html", "docs/_static","docs/*.png","docs/*.psd"] - -[tool.flit.metadata.requires-extra] -doc = ["sphinx"] +classifiers = [ + "Topic :: Software Development" +] [tool.mypy] python_version = "3.10"