/
githubmirror
/
oppia
Обзор
Документация
Войти
/
githubmirror
/
oppia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
MANIFEST.in
21 строка
1 KB
Kevin Thomas
Use an allowlist for assets bundled into oppia_beam_job tarball (#26613)
29 июн 2026, 23:05
Не верифицирован
29 июн 2026, 23:05
32da148
Код
Авторство
О чём код?
# This file specifies which non-py files need to be included in the Oppia Python # package that is generated in order for Apache Beam jobs to be able to run # in production. Note that this package is generated # by running 'python setup.py sdist' in build.py. # Whitelist of assets/ files that the Beam workers read at runtime via # core/constants.py's get_package_file_contents() and a few other call sites. # Images, audio, voiceovers, and UI templates are intentionally excluded: # they're served directly via app.yaml's static-file handlers and are not # read by any Python module in the sdist, so bundling them here would just # duplicate them and inflate the per-file deploy size (32 MiB cap). include assets/__init__.py include assets/*.json include assets/*.ts recursive-include assets/i18n *.json include extensions/interactions/html_field_types_to_rule_specs.json include extensions/interactions/legacy_interaction_specs_by_state_version/*.json include extensions/interactions/rule_templates.json include extensions/objects/object_defaults.json include requirements.txt