Exclude generated Python bytecode from source releases #263

Merged
parkel merged 1 commits from fix/exclude-bytecode-from-source-release into main 2026-12-03 20:49:48 +01:00
2 changed files with 3 additions and 0 deletions

No files matched your search

+2
View File
@@ -62,6 +62,8 @@ jobs:
if: matrix.python-version == '3.14' if: matrix.python-version == '3.14'
run: | run: |
python -m pip install build python -m pip install build
# Exercise source packaging with generated installer bytecode present.
python -m compileall -q deploy/panel_installer
python -m build python -m build
python tools/check_core_release.py dist/*.tar.gz dist/*.whl python tools/check_core_release.py dist/*.tar.gz dist/*.whl
python tools/build_deb.py dist/*.tar.gz dist/*.whl python tools/build_deb.py dist/*.tar.gz dist/*.whl
+1
View File
@@ -2,3 +2,4 @@ include CONTRIBUTING.md manage.py
graft deploy graft deploy
graft docs graft docs
graft tests graft tests
global-exclude *.pyc *.pyo