Moving all the DLL and PYD to a sub-folder with cx_Freeze

前端 未结 2 1704
栀梦
栀梦 2021-01-02 00:42

This has come up quite a few times on the cx_Freeze mailing lists

(see

cx_Freeze and moving files around

Creating fewer files when freezing a Python

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-02 01:27

    I understand your frustration. What I tend to do is take the entire build folder and move it to the program files directory assuming you are using a windows machine. Then create a shortcut on the desktop to the executable. I then generally change the icon to something pleasing to the eye. In other words all the system files are hidden and all you are left with is a single nice looking icon on the desktop.

提交回复
热议问题