This code is for productivity-boosting Python tools for Windows. The author believes that identifying bottlenecks and patching productivity flaws can make them more productive as a developer.
This is a script to remind me to take a break from coding and do some exercise.
This command runs the setup script which installs the necessary packages for the project. This is only needed to be run once after cloning the project. If the project is already cloned, then this command is not needed
python setup.py install
This set of commands is for converting the Python code into an executable (.exe) file. The first command installs the PyInstaller package which is used for creating standalone executables from Python scripts
pip install pyinstaller
The second command converts the Python code into an executable (.exe) file.
pyinstaller --onefile --noconsole --windowed --add-data="res;res" src/task_reminder.py
The third command moves the executable file into the main directory of the project.
move dist\task_reminder.exe .
The fourth command removes the build files.
# Powershell
Remove-Item -Recurse -Force .\build\
# Command Prompt
rmdir /s/q build
The fifth command removes the dist files.
# Powershell
Remove-Item -Recurse -Force .\dist\
# Command Prompt
rmdir /s/q dist
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.