Copyright © 2021 Team Mac
TimeFlo is an implementation of a Pomodoro®-like timer for breaking out of flow state.
This document will help you get the dependencies installed and instruct the user how to run the timer program.
- Requirements complete.
- Project plan complete.
- Design complete.
- Implementation complete.
- Validation complete.
- Create a python virtual enviroment.
python3 -m venv env
- Activate the enviroment.
source ./env/bin/activate
For Windows OS:source ./env/Scripts/activate
- Upgrade pip
pip install --upgrade pip
- Install the requirements
pip install -r requirements.txt
- Run the timer. This can also be bound to some hotkey using system sofware to make launching it eaiser.
python timer.py
- A Qt window should pop up and you should be able to interact with the timer from there. When starting any session the interface will update every second.
M1 Mac users: If
pip install -r requirements.txt
fails to install PyQt5:
- Install Qt
brew install qt5
- Make qmake accessible
brew link qt5 --force
- Try
pip install -r requirements.txt
again.
or try running Terminal in Rosetta 2 mode:
- Select Terminal in Finder (usually found in Utilities folder).
- Right click on Terminal and choose
Duplicate
. - Name the new Duplicate
Terminal Rosetta2
for good reference. - Right click on
Terminal Rosetta2
and chooseGet Info
. - Choose
Open using Rosetta
in the popup window. - Follow the original steps
1-5
to get the program running.
To run tests, go to the root directory and run the command below. It will run through all the state changes. Given the fact that it fully tests the time required to step through everything these tests could take a while to run.
python -m pytest
This program includes the LGPL V3 license for usage of Qt