index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-04-02 13:50:24 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-04-02 13:50:24 +0200 |
commit | af7ab9833c9f9944874f0162ae0975175ddc628d (patch) | |
tree | c486d4948b5994125f95c8aa1d61a059c1351127 /pyproject.toml | |
parent | 2caad35a885f9be30d5bf79a47f5456f276ae67b (diff) | |
parent | 6e3c6f8863041b54f6d8cf7af37f9719c493eadd (diff) |
-rw-r--r-- | pyproject.toml | 31 |
diff --git a/pyproject.toml b/pyproject.toml index 207dace5..6e0fcb99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,24 +1,24 @@ [build-system] -requires = ["flit_core >=3.5.1,<4", "setuptools>=45", "wheel"] -build-backend = "flit_core.buildapi" +requires = ["setuptools>=67.5"] +build-backend = "setuptools.build_meta" [project] name = "archinstall" -dynamic = ["version"] +dynamic = ["version", "entry-points"] description = "Arch Linux installer - guided, templates etc." authors = [ {name = "Anton Hvornum", email = "anton@hvornum.se"}, ] +license = {text = "GPL-3.0-only"} readme = "README.md" requires-python = ">=3.10" keywords = ["linux", "arch", "archinstall", "installer"] 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)", + "Programming Language :: Python :: 3.10", "Operating System :: POSIX :: Linux", ] @@ -27,20 +27,29 @@ Home = "https://archlinux.org" Documentation = "https://archinstall.readthedocs.io/" Source = "https://github.com/archlinux/archinstall" +[project.optional-dependencies] +doc = ["sphinx"] + [project.scripts] archinstall = "archinstall:run_as_a_module" -[project.optional-dependencies] -doc = ["sphinx"] +[tool.setuptools] +packages = ["archinstall", "profiles", "examples"] + +[tool.setuptools.package-data] +archinstall = [ + "examples/*.py", + "profiles/*.py", + "profiles/applications/*.py" +] -[tool.flit.sdist] -include = ["docs/", "profiles", "examples", "archinstall/profiles", "archinstall/examples"] -exclude = ["docs/*.html", "docs/_static", "docs/*.png", "docs/*.psd"] +[tool.setuptools.dynamic] +version = {attr = "archinstall.__version__"} [tool.mypy] python_version = "3.10" exclude = "tests" [tool.bandit] -targets = ["ourkvm"] +targets = ["archinstall"] exclude = ["/tests"] |