X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/957526bf2b69e8d475a74f139ef30084e944b59e..ddab48a5c0da11082de6fd3a530ee491f04aa19c:/setup.py diff --git a/setup.py b/setup.py index fbfca96..eaf39c1 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 @@ -14,5 +15,7 @@ setup(name = 'stgit', long_description = 'Push/pop utility on top of GIT', scripts = ['stg', 'gitmergeonefile.py'], 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/stgitrc'])] )