We use pip-tools to manage our python dependencies and create reproducible environments.
- pip-tools for dependency management
- Our requirements are tracked in ../backend/requirements
- We use
pip-compile
to generate arequirements.txt
file with hashes - We track both in version control
- We use
requirements.txt
to install dependencies locally as well as in deployed environments.
If you are running the Docker containers, they will automatically install.
If you are running locally, you can run:
cd backend
pip install -r requirements.txt
for the dependencies for the project. Developer dependencies (like linters) can be installed with:
cd backend
pip install -r dev-requirements.txt