mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
chore(build): exclude 'repository-server-bundled' from package data and update fetch script documentation
This commit is contained in:
parent
8ad8dc8825
commit
23b0c730aa
3 changed files with 8 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
recursive-include meshchatx/public *
|
||||
recursive-exclude meshchatx/public/repository-server-bundled *
|
||||
recursive-include meshchatx/src/backend *
|
||||
include meshchatx/src/version.py
|
||||
include meshchatx/src/__init__.py
|
||||
|
|
|
|||
|
|
@ -76,6 +76,9 @@ namespaces = false
|
|||
[tool.setuptools.package-data]
|
||||
meshchatx = ["public/**/*", "public/*", "src/backend/data/community_interfaces.json", "src/backend/data/licenses_frontend.json", "src/backend/data/THIRD_PARTY_NOTICES.txt", "src/frontend/public/repository-server-index.html"]
|
||||
|
||||
[tool.setuptools.exclude-package-data]
|
||||
meshchatx = ["public/repository-server-bundled/**"]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=65.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,10 @@ ship with the same artifact layout as the Vite output. At runtime,
|
|||
copies any missing ``*.whl`` files from that directory into each identity's
|
||||
``repository-server/bundled`` folder (no network required).
|
||||
|
||||
The PyPI/sdist wheel intentionally omits this tree (see ``MANIFEST.in`` and
|
||||
``tool.setuptools.exclude-package-data``); use this script for desktop/full
|
||||
builds or refresh bundled wheels in the app when online.
|
||||
|
||||
Usage::
|
||||
|
||||
python3 scripts/build/fetch_repository_wheels.py [--dest DIR]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue