Skip to content

Modify: use pyinstaller add date file command to add *.ui file.#1

Open
XiaoxingChen wants to merge 3 commits intomalik1988:masterfrom
XiaoxingChen:master
Open

Modify: use pyinstaller add date file command to add *.ui file.#1
XiaoxingChen wants to merge 3 commits intomalik1988:masterfrom
XiaoxingChen:master

Conversation

@XiaoxingChen
Copy link

Change the name parse rule.
When packed to exe, the "netassistant.py" run as "netassistant.pyc",
so if replace ".py" with ".ui", will one get "netassistant.uic".
This will cause program cannot find files.

The gen_exe.sh is a script figuring out how to use the "--add-data" command.
Rename .sh to .bat, then can one easily generate executable under windows.

XiaoxingChen added 3 commits March 30, 2018 22:34
Change the name parse rule.
When packed to exe, the netassistant.py run as netassistant.pyc,
so if replace ".py" with ".ui", will one get "netassistant.uic".
This will cause program cannot find files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant