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

前端 未结 9 2129
醉话见心
醉话见心 2020-12-04 04:42

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

9条回答
  •  悲&欢浪女
    2020-12-04 05:00

    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.

提交回复
热议问题