the-xkcd-community/the-red-spider-project — pull request #22 by jgonggrijp (2013-03-25 23:10:11+00:00)
Title: Windows users can run 'rsshell' (without '.py') too! Needs testing (on Windows).

The title says it all. If ".py" is not normally in PATHEXT, `setup.py` will install a small forwarding script which does have its extension in PATHEXT: `rsshell.cmd`. It's created on the fly.

Testing:
```

1. cd %RED_SPIDER_ROOT%

2. # if you don't have me already:
git remote add julian git://github.com/jgonggrijp/the-red-spider-project.git

3. git fetch julian
git checkout julian/rsshell-ext
setup.py
# say yes when it asks whether you want to install

4. rsshell.py cd
# should produce two lines containing paths,
# the first starting with "RED_SPIDER_ROOT ="
# if not, log out of your computer and log back in before you proceed
# note: no need to exit because of the "cd" argument

5. rsshell
# should print the welcome message with "RED_SPIDER_ROOT = ..."

6. exit
```