You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
645 B
19 lines
645 B
python -m nuitka \
|
|
--standalone --onefile \
|
|
--include-package=config \
|
|
--include-package=exceptions \
|
|
--include-package=middlewares \
|
|
--include-package=sub_applications \
|
|
--include-package=utils \
|
|
--include-package=module_admin \
|
|
--include-package=asyncmy \ # 确保包含整个asyncmy包
|
|
--include-module=asyncmy.auth \ # 显式包含报错缺失的auth模块
|
|
--include-data-files=.env.dev=.env.dev \
|
|
--include-data-files=.env.prod=.env.prod \
|
|
--include-data-files=ruff.toml=ruff.toml \
|
|
--include-data-dir=assets=assets \
|
|
--output-dir=dist \
|
|
--show-progress \
|
|
--show-memory \
|
|
--remove-output \
|
|
--follow-imports app.py
|