Merging in changes from branch fix-pybuild

This commit is contained in:
Anton Hvornum 2024-05-13 14:30:30 +02:00
commit 9b2edb16b2
No known key found for this signature in database
GPG Key ID: D4B58E897A929F2E
2 changed files with 11 additions and 10 deletions

3
.gitignore vendored
View File

@ -21,10 +21,11 @@ SAFETY_LOCK
**/**.network
**/**.target
**/**.qcow2
**/**.log
**/**.fd
/test*.py
**/archiso
/guided.py
/install.log
venv
.venv
.idea/**

View File

@ -43,20 +43,20 @@ version = {attr = "archinstall.__version__"}
readme = {file = ["README.rst", "USAGE.rst"]}
[tool.setuptools]
packages = ["archinstall"]
include-package-data = true
[tool.setuptools.package-data]
# We could specify locales/lancuages.json etc instead, but catchall works too.
# We could specify locales/languages.json etc instead, but catchall works too.
"archinstall" = [
"**/*.py",
"**/*.mo",
"**/*.po",
"**/*.pot",
"**/*.json",
"archinstall/**/*.py",
"archinstall/**/*.mo",
"archinstall/**/*.po",
"archinstall/**/*.pot",
"archinstall/**/*.json",
]
# [tool.setuptools.packages.find]
# where = ["archinstall"]
[tool.setuptools.package-dir]
where = "archinstall"
[tool.mypy]
python_version = "3.11"