Merge pull request #606 from miurahr/topic/miurahr/setuptools/drop-setup-cfg

All build configurations on pyproject.toml
This commit is contained in:
Hiroshi Miura
2022-11-03 10:41:34 +09:00
committed by GitHub
2 changed files with 10 additions and 8 deletions

View File

@@ -1,7 +1,6 @@
[project] [project]
name = "aqtinstall" name = "aqtinstall"
description = "Another unofficial Qt installer" description = "Another unofficial Qt installer"
readme = "README.rst"
license = {text = "MIT License"} license = {text = "MIT License"}
authors = [ authors = [
{name = "Hiroshi Miura", email = "miurahr@linux.com"}, {name = "Hiroshi Miura", email = "miurahr@linux.com"},
@@ -33,7 +32,16 @@ dependencies = [
"semantic_version", "semantic_version",
"texttable", "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] [project.scripts]
aqt = "aqt.__main__:main" aqt = "aqt.__main__:main"

View File

@@ -1,6 +0,0 @@
[options.entry_points]
console_scripts =
aqt = aqt.__main__:main
[options.package_data]
aqt = *.yml, *.json, *.ini