Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Sorry. Not what I meant. Your programs shouldn't write to these directories while running anyway, so once deduplicated, they should remain that way.


Ah 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.


There is a version of fdupes that makes hard links. Maybe it's enough for what you need.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: