How do I update a virtualenv?

alex23 wuwei23 at gmail.com
Tue Oct 29 21:44:00 EDT 2013


On 30/10/2013 12:08 AM, Skip Montanaro wrote:
>> Where specifically are these instructions that tell you to put the
>> virtualenv under VCS control?
>
> https://devcenter.heroku.com/articles/getting-started-with-python

I believe you may have misread the instructions slightly. You should 
have a project structure like this:

     my_project/
         /venv
         .gitignore

The instructions mention adding 'venv' to your .gitignore, so it will be 
excluded from version control. If you have .git & .gitignore files 
inside your venv folder, then you've changed directory into it when you 
should be calling it from the project root instead.




More information about the Python-list mailing list