X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/41a6d8591d5962dbfe8e372fff10c60e06718083..99c529152847b7e20e48dc477925e315918eed5d:/setup.py diff --git a/setup.py b/setup.py index 48d3631..7c043b8 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,11 @@ 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'], - packages = ['stgit'], - data_files = [('/etc', ['stgitrc'])], + scripts = ['stg'], + 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']), + ('share/stgit/contrib', ['contrib/diffcol.sh']), + ('share/doc/stgit', glob.glob('doc/*.txt'))] )