Changing the location of the virtualenv directory violates it
This is the main advantage of placing the directory outside the repository tree, for example. under ~/.virtualenvs with virutalenvwrapper .
Otherwise, if you save it in the project tree, moving the project location will break the virtual file.
See: Renaming a virtualenv folder without breaking it
There is --relocatable , but as you know, it is not perfect.
Another small advantage: you do not need it .gitignore .
If this were not the case, I would simply leave my virtualenvs gitignored in the project tree itself to link related things.
This is great, since you will probably never reuse this virtualenv for projects.
Ciro Santilli ๆฐ็ ๆน้ ไธญๅฟ ๅ
ญๅ ไบไปถ ๆณ่ฝฎๅ May 08 '16 at 14:46 2016-05-08 14:46
source share