4

Nuitka 编译的 exe 如何配合子目录中的嵌入式 Python 环境使用

 1 year ago
source link: https://www.v2ex.com/t/849430
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  Python

Nuitka 编译的 exe 如何配合子目录中的嵌入式 Python 环境使用

  lon91ong · 1 小时 8 分钟前 · 82 次点击

我现在使用的编译参数如下:

nuitka --mingw64 --nofollow-imports --full-compat --plugin-enable=upx --windows-disable-console --windows-icon-from-ico=some.ico --output-dir=out main.py

编译得到的main.exe可以和嵌入式的 python 环境在下图所示路径中使用:

目录结构

而我希望的目录结构如下:

希望结构

用 DeepL 辅助一句一句翻译, 在 Github 上 Nuitka 项目发了issue

希望这里有大神能有解决办法


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK