Using git to manage virtualenv state: will this cause problems?

后端 未结 3 634
灰色年华
灰色年华 2021-02-01 20:16

I currently have git and virtualenv set up in a way which exactly suits my needs and, so far, hasn\'t caused any problems. However I\'m aware that my setup is non-standard and I

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-01 21:14

    In /lib/python2.7/site-packages in my virtualenv I have absolute paths, for example in Django.egg-link I have /Users/henry/.virtualenv/mowapp/src/django (this is a Mac).

    Check to see if you have any absolute paths checked into git, I think that is a major problem with this approach.

提交回复
热议问题