Closed JaceyMarvin99 closed 2 years ago
It seems a stupid way to go... I found it difficult to dynamically read words.txt after packaging, so I replaced it with words.py.
Haha.. Seems just fine :)
Now we can find executable files that doesn't require Python
Umm...I didn't understand. Can you explain?
Also, Why's there a need for addtional requirements.txt
and termtyper.py
?
Umm...I didn't understand. Can you explain?
Just need to download it and then double-click to run termtyper, instead of running commands like pip install ...
in the shell, and you don't need a Python environment to run it.
Also, Why's there a need for addtional
requirements.txt
andtermtyper.py
?
requirements.txt
is used for installing dependencies in Github workflow.
termtyper.py
is the entry file for pyinstaller.
I tried to install termtyper using pyinstaller
and takes about 4 seconds just to get to the start menu :fearful:
It works but the startup time is just awful :(
I'll merge it in-case someone decides to install it this way.
If there are no bugs, I'll add introductions into README.md.
Sure, you can go ahead and do that...Then I'll merge this PR :)
It seems a stupid way to go... I found it difficult to dynamically read
words.txt
after packaging, so I replaced it withwords.py
.But it works! Now we can find executable files that doesn't require Python to run in Actions, on push or pull request according to
.github/workflows/app.yml
. Here is an example in my repo.I have successfully run it on Windows and Ubuntu, but macOS has not been verified yet (hope no problems). Can someone test it?
If there are no bugs, I'll add introductions into
README.md
.