Fixing issue of: _Warning: Package 'archinstall.default_profiles' is absent from the 'packages' configuration. x50+

This commit is contained in:
Anton Hvornum 2024-05-13 14:09:17 +02:00
parent 20f802dfc3
commit 589a09bbe5
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 **/**.network
**/**.target **/**.target
**/**.qcow2 **/**.qcow2
**/**.log
**/**.fd
/test*.py /test*.py
**/archiso **/archiso
/guided.py /guided.py
/install.log
venv venv
.venv .venv
.idea/** .idea/**

View File

@ -43,20 +43,20 @@ version = {attr = "archinstall.__version__"}
readme = {file = ["README.rst", "USAGE.rst"]} readme = {file = ["README.rst", "USAGE.rst"]}
[tool.setuptools] [tool.setuptools]
packages = ["archinstall"] include-package-data = true
[tool.setuptools.package-data] [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" = [ "archinstall" = [
"**/*.py", "archinstall/**/*.py",
"**/*.mo", "archinstall/**/*.mo",
"**/*.po", "archinstall/**/*.po",
"**/*.pot", "archinstall/**/*.pot",
"**/*.json", "archinstall/**/*.json",
] ]
# [tool.setuptools.packages.find] [tool.setuptools.package-dir]
# where = ["archinstall"] where = "archinstall"
[tool.mypy] [tool.mypy]
python_version = "3.11" python_version = "3.11"