> 5. Files in use can't be replaced. Because a Windows executable that's in useBut they can be renamed, and deleted afterwards. For example, when
> is not allowed to be overwritten,
updating, you can do the simple dance of:
1. delete scriptname.exe.deleteme if it exists
2. rename scriptname.exe to scriptname.exe.deleteme
3. replace scriptname.exe
4. try to delete the .deleteme file created in step 2, ignoring errors.
And since this only needs to be done for the wrappers on installation
tools themselves (pip, easy_install, etc.), it's not like a lot of
people are going to have to write this code.