开发者

Py2exe Directory Structure

I use Py2exe to package a Python application with quite a few dependant packages. While Py2exe works flawlessly the resulting dist/ folder with the executable contains a large number (10-15) of support files (.dll, .pyd, .zip).

Ideally I would like to be able to place all of these dependant files in a folder called support/ or lib/ or something to that effect. This way when people download the application and extract the archive they are on开发者_开发问答ly presented with an executable and some folders.

Does Py2exe support placing dependant files in a sub-folder? If so, how can one accomplish this.


An effective solution is to bundle everything in an standalone executable using

bundle_files:1

in your setup.py py2exe options.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜