All build configurations on pyproject.toml
Drop setup.cfg
[project]
name = "aqtinstall"
description = "Another unofficial Qt installer"
-readme = "README.rst"
license = {text = "MIT License"}
authors = [
{name = "Hiroshi Miura", email = "miurahr@linux.com"},
@@ -33,7 +32,16 @@ dependencies = [
"semantic_version",
"texttable",
]
-dynamic = ["version", "entry-points"]
+dynamic = ["version", "readme"]
+
+[tool.setuptools]
+packages = ["aqt"]
+
+[tool.setuptools.dynamic]
+readme = {file = ["README.rst"]}
+
+[tool.setuptools.package-data]
+aqt = ["*.yml", "*.json", "*.ini"]
[project.scripts]
aqt = "aqt.__main__:main"
