X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/957526bf2b69e8d475a74f139ef30084e944b59e..ba1a4550a02d89ed021d7c9e909fdba8e097888d:/setup.py diff --git a/setup.py b/setup.py index fbfca96..1a7a3f0 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,8 @@ 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']), + ('share/doc/stgit', glob.glob('doc/*.txt'))] )