[CentralOH] virtualenv best practices for version control

Matthew Talbert ransom1982 at gmail.com
Sat Jun 11 01:30:26 CEST 2011


> Thanks.  Where do you place requirements.txt?  I tried creating a folder for the new virtualenv and putting requirements.txt in that folder and then virtualenv [folder]. It created the virtualenv in that folder, but didn't load in the libraries from requirements.txt.  What I did find that worked was once the virtualenv was created and activated to do pip install -r requirements.txt. That loaded the libraries.

That's correct. After looking more closely what we do, we essentially
do the same thing. I was a bit unfamiliar with our own process....

Matthew


More information about the CentralOH mailing list