including a manual relpath function

script originally used os.path.relpath, but that was introduced in
python 2.6, so anyone who is using an earlier version of python was
getting an error trying to create a project etc.