mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-05-25 22:34:01 +00:00
chore(build): exclude 'repository-server-bundled' from package data and update fetch script documentation
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user