Fixing issue with `python -m build --wheel` generating "_Warning: Package 'archinstall.default_profiles' is absent from the `packages` configuration" (#2499)
* Fixing issue of: _Warning: Package 'archinstall.default_profiles' is absent from the 'packages' configuration. x50+ * Corrected the package name from 'where' to 'archinstall' * Undoing change to 'package-data'
This commit is contained in:
parent
20f802dfc3
commit
195eb0ba6d
|
|
@ -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/**
|
||||||
|
|
|
||||||
|
|
@ -43,10 +43,10 @@ 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",
|
"**/*.py",
|
||||||
"**/*.mo",
|
"**/*.mo",
|
||||||
|
|
@ -55,8 +55,8 @@ packages = ["archinstall"]
|
||||||
"**/*.json",
|
"**/*.json",
|
||||||
]
|
]
|
||||||
|
|
||||||
# [tool.setuptools.packages.find]
|
[tool.setuptools.package-dir]
|
||||||
# where = ["archinstall"]
|
archinstall = "archinstall"
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
python_version = "3.11"
|
python_version = "3.11"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue