This guide explains how to set up the project automatically using make, Python virtual environments, and Poetry.
After installing and configuring make, run:
Remove poetry and venv files for clean install
make cleanupRun initial setup
make setupIn cmd or powershell activate venv
.\venv\Scripts\activate.bat.\venv\Scripts\Activate.ps1Setup flake, isort, black and pre-commit
make setup_formattingTry out tests
poetry add pytestpoetry run pytestCreate a virtual environment:
python -m venv venvActivate it to bring up the venv indicator:
.\venv\Scripts\ActivateCheck if the correct Python is active:
Get-Command python | Select-Object SourceInstall all required packages:
make install_packpip install poetrypoetry initpoetry config virtualenvs.create false --localpoetry add $(Get-Content requirements.txt)poetry add pandas.\venv\Scripts\Activate.ps1choco install make -ypoetry add pytestpoetry run pytest