Install the template files as well
[stgit] / setup.py
1 #!/usr/bin/env python
2
3 import glob
4 from distutils.core import setup
5
6 from stgit.version import version
7
8 setup(name = 'stgit',
9 version = version,
10 license = 'GPLv2',
11 author = 'Catalin Marinas',
12 author_email = 'catalin.marinas@gmail.org',
13 url = 'http://www.procode.org/stgit/',
14 description = 'Stacked GIT',
15 long_description = 'Push/pop utility on top of GIT',
16 scripts = ['stg', 'gitmergeonefile.py'],
17 packages = ['stgit', 'stgit.commands'],
18 data_files = [('/etc', ['stgitrc']),
19 ('share/stgit/templates', glob.glob('templates/*.tmpl')),
20 ('share/stgit/examples', glob.glob('examples/*.tmpl'))]
21 )