setup.py 1.0 KB

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env python
  2. from setuptools import setup
  3. import reportbug
  4. import os
  5. import glob
  6. # i18n = []
  7. # for lang in glob.glob('*.po'):
  8. # lang = lang[:-3]
  9. # if lang == 'messages':
  10. # continue
  11. # i18n.append( ('share/locale/%s/LC_MESSAGES' % lang,
  12. # ['i18n/%s/LC_MESSAGES/foomatic-gui.mo' % lang]) )
  13. setup(name='reportbug', version=reportbug.VERSION_NUMBER,
  14. description='bug reporting tool',
  15. author='reportbug maintainence team',
  16. author_email='reportbug-maint@lists.alioth.debian.org',
  17. url='http://alioth.debian.org/projects/reportbug',
  18. data_files=[('share/reportbug', ['share/handle_bugscript',
  19. 'share/reportbug.el',
  20. 'share/debian-swirl.svg']),
  21. ('share/bug/reportbug', ['share/presubj', 'share/script',
  22. 'share/control'])],
  23. license='MIT',
  24. packages=['reportbug', 'reportbug.ui'],
  25. scripts=['bin/reportbug', 'bin/querybts'])