Modern Python Projects Transcripts
Chapter: Managing Python project
Lecture: Managing dependencies
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
We covered project structure, and how to eun some common tasks. Last important part of project management is dependencies management.
0:10
The easiest way is to have one file where you list all the dependencies for your project. By convention, this file is usually called requirements.txt.
0:20
You pass this file to pip by running pip install -r and the path to the requirements file and pip will install all the dependencies from this file.
0:29
Don't forget to activate virtual environment before you do that.