A non-magical introduction to pip and virtualenv for Python beginners
1–10 of 86 posts
Re: A non-magical introduction to pip and virtualenv for Python beginners
#2Re: A non-magical introduction to pip and virtualenv for Python beginners
#3Re: A non-magical introduction to pip and virtualenv for Python beginners
#4In general what are the best practices for using virtualenv with version control?
Re: A non-magical introduction to pip and virtualenv for Python beginners
#5He mentions not checking the env directory into git. Why not? In general what are the best practices for using virtualenv with version control?
Also, IIRC the environment will contain a symlimk to the python executable and companion files. That symlink will change depending on the environment.
Re: A non-magical introduction to pip and virtualenv for Python beginners
#6He mentions not checking the env directory into git. Why not? In general what are the best practices for using virtualenv with version control?
I keep my virtualenvs in ~/.virtualenvs/, away from the project.
Re: A non-magical introduction to pip and virtualenv for Python beginners
#7He mentions not checking the env directory into git. Why not? In general what are the best practices for using virtualenv with version control?
Re: A non-magical introduction to pip and virtualenv for Python beginners
#8Re: A non-magical introduction to pip and virtualenv for Python beginners
#9a good introduction - I would like to hear more about deployment with virtualenv though - is it expected that you just document any packages with requirements.txt and then you would create the virtualenv in the deployment target and set everything up again? Or can you "package" a virtualenv for deployment?
Re: A non-magical introduction to pip and virtualenv for Python beginners
#10a good introduction - I would like to hear more about deployment with virtualenv though - is it expected that you just document any packages with requirements.txt and then you would create the virtualenv in the deployment target and set everything up again? Or can you "package" a virtualenv for deployment?