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


                                

              
                         
 


                                         
 





                                                     

                           
                                                          
                                                                     
                                     







                                   
                   
                          
     
#!/usr/bin/env python

from distutils.core import setup
import os.path

from libbe import 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,
    )