jbernard/dotfiles — pull request #9 by living180 (2012-05-27 20:21:26+00:00)
Title: Support for Windows

This series of changes provides support for running dotfiles on Windows. This requires:
- Windows Vista or later for OS symlink support
- Python 3.2 or later for Python support of Windows symlinks
- "Create symbolic links" permission for the user account running dotfiles

When these criteria are met, this set of changes will allow dotfiles to function on Windows. The test suite currently fails, because it still uses os.path.realpath to check if two paths represent the same file, and os.path.realpath does not resolve symbolic links on Windows (http://bugs.python.org/issue9949). If the test suite is changed to use os.path.samefile, it passes. However, I believe that os.path.realpath is better because that will allow the two paths to be displayed if they do not match.

I have not used dotfiles extensively on Windows yet, but I have confirmed that the basic functionality works correctly.