aboutsummaryrefslogblamecommitdiffstats
path: root/setup.py
blob: bd45d082079e8ab3ab4f6577d57f57094f6f6faf (plain) (tree)
1
2
3
4
5
6
7
8
9


                                

              
                                   
 

                                          
 





                                                     

                           
                                                          
                                                                     
                                     







                                   
                   
                          
     
#!/usr/bin/env python

from distutils.core import setup
import os.path

from libbe import _version, version

rev_id = _version.version_info["revision"]
rev_date = _version.version_info["date"]

data_files = []

man_path = os.path.join('doc', 'man', 'be.1')
if os.path.exists(man_path):
    data_files.append(('share/man/man1', [man_path]))

setup(
    name='Bugs Everywhere',
    version='{} ({})'.format(version.version(), rev_date),
    description='Bugtracker supporting distributed revision control',
    url='http://bugseverywhere.org/',
    packages=['libbe',
              'libbe.command',
              'libbe.storage',
              'libbe.storage.util',
              'libbe.storage.vcs',
              'libbe.ui',
              'libbe.ui.util',
              'libbe.util'],
    scripts=['be'],
    data_files=data_files,
    )