chiark / gitweb /
Add a --version=... option to the mail command
[stgit] / setup.py
index fbfca9662e36baf8deec24231e6480065d242534..eaf39c17ba9220b325a89e5292a19077072b87ea 100755 (executable)
--- 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'])]
       )