From the course: Managing Python Projects
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Create environment - Python Tutorial
From the course: Managing Python Projects
Solution: Create environment
(upbeat music) - [Instructor] Here's my solution. The requirements.txt contains the production requirements, and the requirements are sorted alphabetically. The dev-requirements.txt contains the development requirements. And I have a makefile to create the virtual environment and the development virtual environment. And now I can run make dev-venv, which will create virtual environment for development, containing both production and development requirements. And here, I can run /venv/bin/python check_env, and it should exit cleanly.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.