X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/41a6d8591d5962dbfe8e372fff10c60e06718083..c23e93ff42f19ab5b2ff5701bbccbedb15882941:/setup.py?ds=sidebyside diff --git a/setup.py b/setup.py index 48d3631..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 @@ -13,6 +14,8 @@ setup(name = 'stgit', description = 'Stacked GIT', long_description = 'Push/pop utility on top of GIT', scripts = ['stg', 'gitmergeonefile.py'], - packages = ['stgit'], - data_files = [('/etc', ['stgitrc'])], + packages = ['stgit', 'stgit.commands'], + data_files = [('share/stgit/templates', glob.glob('templates/*.tmpl')), + ('share/stgit/examples', glob.glob('examples/*.tmpl')), + ('share/stgit/examples', ['examples/stgitrc'])] )