| 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'], |
| 17 | packages = ['stgit', 'stgit.commands'], |
| 18 | data_files = [('share/stgit/templates', glob.glob('templates/*.tmpl')), |
| 19 | ('share/stgit/examples', glob.glob('examples/*.tmpl')), |
| 20 | ('share/stgit/examples', ['examples/stgitrc']), |
| 21 | ('share/stgit/contrib', ['contrib/diffcol.sh']), |
| 22 | ('share/doc/stgit', glob.glob('doc/*.txt'))] |
| 23 | ) |