mirror of
https://github.com/ZhuLinsen/daily_stock_analysis
synced 2026-09-20 19:06:46 +08:00
* feat: add report image sharing * fix(review-feedback-2146): 评审结论 - 代码检查 :当前整个 PR 仍有 2 个未关闭的高置信度代码 blocker。最新复核摘要:基于 merge-base * fix(review-feedback-2146): preserve the Markdown fallback for unavailable snapshots and preserve * fix(review-feedback-2146): 补一组通知回归测试,至少覆盖 * fix(review-feedback-2146): 在源码树执行 npm ci 和 npx playwright install chromium,这与预编译 desktop 发行包环境不一致 * fix(review-feedback-2146): 评审结论 - 代码检查 :当前整个 PR 仍有 1 个未关闭的高置信度代码 blocker。最新复核摘要:基于 merge-base * fix(review-feedback-2146): 补上明确的 CLI/Chromium 安装提示,避免当前日志和 503 文案继续把用户引向 * fix(review-feedback-2146): 补到与 docs/share-images.md 一致,直接提示 cd apps/dsa-web && npm ci 和 npx
12 lines
530 B
Python
12 lines
530 B
Python
"""Compatibility settings that must run before PyInstaller's dependency hooks."""
|
|
|
|
import os
|
|
|
|
|
|
# NLTK 3.10's CWD import guard treats PyInstaller's bundled ``_internal``
|
|
# standard-library directory as application-controlled source when the frozen
|
|
# executable starts beside that directory. The frozen importer already fixes
|
|
# the module search roots, so disable only this incompatible NLTK guard inside
|
|
# packaged binaries. This custom hook runs before ``pyi_rth_nltk``.
|
|
os.environ.setdefault("NLTK_DISABLE_IMPORT_SECURITY", "1")
|