chiark / gitweb /
Implement the 'clone' command
[stgit] / setup.py
index 48d363161b465c2f6f3e945764a0f214dba9fa49..2e5dd7c4087890dfcbee47f90bf05e3cddf2bb90 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
@@ -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 = [('/etc', ['stgitrc']),
+                    ('share/stgit/templates', glob.glob('templates/*.tmpl')),
+                    ('share/stgit/examples', glob.glob('examples/*.tmpl'))]
       )