aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
blob: bd45d082079e8ab3ab4f6577d57f57094f6f6faf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/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,
    )