X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/957526bf2b69e8d475a74f139ef30084e944b59e..9e3f506f0d0e1b0c09d1e9d7051af23bfede7834:/setup.py diff --git a/setup.py b/setup.py index fbfca96..dc25149 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ #!/usr/bin/env python +import glob from distutils.core import setup from stgit.version import version @@ -12,7 +13,13 @@ setup(name = 'stgit', url = 'http://www.procode.org/stgit/', description = 'Stacked GIT', long_description = 'Push/pop utility on top of GIT', - scripts = ['stg', 'gitmergeonefile.py'], + scripts = ['stg'], packages = ['stgit', 'stgit.commands'], - data_files = [('/etc', ['stgitrc'])], + data_files = [('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'))] )