1 changed files with 19 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||||
|
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 |
||||
Loading…
Reference in new issue