Python 3.9
On linux please add alias python to python3. Look here.
Creating Virtual Environment (from the root of the project)
Windows: python -m venv ./venv
Linux: virtualenv venv
Activate Virtual Environment:
Windows: ./venv/Scripts/activate
Linux: source venv/bin/activate
*On Windows you might need to give rights to execute commands from PowerShell via the following command (running as Administrator)
Set-ExecutionPolicy Unrestricted
*If you want to exit Virtual Environment please run deactivate
Update pip:
python -m pip install --upgrade pip
Install requirements:
pip install -r ./requirements.txt
Run python ./rss_parse/rss_reader.py --help to find available options
Application stores RSS Feed in a local storage in a temp folder (and rss_reader sub-folder).
For more info on what is considered a temp directory please look here
Run pytest ./tests to run tests
To create a distribution package please run
pip install -e .
You will be able to run rss_reader directly
Also you should run this command as it makes the required font available for fpdf library