3 ms·
> The Python environment directories shouldn't be writable anyway. Yeah, except people start putting together their own Python environments in their home direc
by cozzyd 6y ago
> The Python environment directories shouldn't be writable anyway.
Yeah, except people start putting together their own Python environments in their home directories because that's what third-party packages suggest and asking admins to install random packages globally for random one-off tasks is not really sustainable. I'm sure there are workarounds, but it would be nice if virtualenv had some automatic way of figuring this out.
- rbanffy 6y agoSorry. Not what I meant. Your programs shouldn't write to these directories while running anyway, so once deduplicated, they should remain that way.
- cozzyd 6y agoAh sorry! I see what you mean now. I guess it wouldn't be so hard to write a script to deduplicate a bunch of virtualenv environments, but I'm scared to be the one to go down that rabbit hole.
- rbanffy 6y agoThere is a version of fdupes that makes hard links. Maybe it's enough for what you need.