Skip to content

Commit

Permalink
Fixing issue with python -m build --wheel generating "_Warning: Pac…
Browse files Browse the repository at this point in the history
…kage 'archinstall.default_profiles' is absent from the `packages` configuration" (archlinux#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'
  • Loading branch information
Torxed authored May 13, 2024
1 parent 20f802d commit 195eb0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ SAFETY_LOCK
**/**.network
**/**.target
**/**.qcow2
**/**.log
**/**.fd
/test*.py
**/archiso
/guided.py
/install.log
venv
.venv
.idea/**
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ 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",
Expand All @@ -55,8 +55,8 @@ packages = ["archinstall"]
"**/*.json",
]

# [tool.setuptools.packages.find]
# where = ["archinstall"]
[tool.setuptools.package-dir]
archinstall = "archinstall"

[tool.mypy]
python_version = "3.11"
Expand Down

0 comments on commit 195eb0b

Please sign in to comment.