X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/d756053f114b1fdf46c2694e940f1197822afcc7..e1e5f6d7a12e229db51445f6f8aca3ba81595ed7:/setup.py?ds=sidebyside diff --git a/setup.py b/setup.py index 54c2593..3f5ccb2 100755 --- a/setup.py +++ b/setup.py @@ -58,10 +58,9 @@ def __run_setup(): ('share/stgit/templates', glob.glob('templates/*.tmpl')), ('share/stgit/examples', glob.glob('examples/*.tmpl')), ('share/stgit/examples', ['examples/gitconfig']), - ('share/stgit/contrib', ['contrib/diffcol.sh', - 'contrib/stgbashprompt.sh', - 'contrib/stgit-completion.bash']), - ('share/doc/stgit', glob.glob('doc/*.txt'))]) + ('share/stgit/contrib', ['contrib/stgbashprompt.sh']), + ('share/stgit/completion', ['stgit-completion.bash']) + ]) # Check the minimum versions required if sys.argv[1] in ['install', 'build']: @@ -71,11 +70,8 @@ if sys.argv[1] in ['install', 'build']: # ensure readable template files old_mask = os.umask(0022) -try: - version.write_builtin_version() - __run_setup() -finally: - version.delete_builtin_version() +version.write_builtin_version() +__run_setup() # restore the old mask os.umask(old_mask)