Is it bad to have my virtualenv directory inside my git repository?

I"m thinking about putting the virtualenv for a Django web app I am making inside my git repository for the app. It seems like an easy way to keep deploy"s simple and easy. Is there any reason why I shouldn"t do this?

Answer rating: 366

I use pip freeze to get the packages I need into a requirements.txt file and add that to my repository. I tried to think of a way of why you would want to store the entire virtualenv, but I could not.





Get Solution for free from DataCamp guru