Incorrect accquiring bugdir command line argument
[be.git] / setup.py
1 #!/usr/bin/env python
2 #
3 # Copyright
4
5 from distutils.core import setup
6 import os.path
7
8 from libbe import version
9
10
11 _this_dir = os.path.dirname(__file__)
12
13 rev_id = version.version_info['revision']
14 rev_date = version.version_info['date']
15
16 data_files = []
17
18 man_path = os.path.join('doc', 'man', 'be.1')
19 if os.path.exists(man_path):
20     data_files.append(('share/man/man1', [man_path]))
21
22 setup(
23     name='bugs-everywhere',
24     version='{}'.format(version.version()),
25     maintainer='W. Trevor King',
26     maintainer_email='wking@tremily.us',
27     url='http://bugseverywhere.org/',
28     download_url=(
29         'http://downloads.bugseverywhere.org/releases/be-{}.tar.gz'.format(
30             version.version())),
31     license='GNU General Public License (GPL)',
32     platforms=['all'],
33     description='Bugtracker supporting distributed revision control',
34     long_description=open(os.path.join(_this_dir, 'README'), 'r').read(),
35     classifiers=[
36         'Development Status :: 4 - Beta',
37         'Environment :: Console',
38         'Environment :: Web Environment',
39         'Framework :: CherryPy',
40         'Intended Audience :: Customer Service',
41         'Intended Audience :: Developers',
42         'Intended Audience :: End Users/Desktop',
43         'License :: OSI Approved :: GNU General Public License (GPL)',
44         'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
45         'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
46         'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
47         'Operating System :: OS Independent',
48         'Programming Language :: Python',
49         'Programming Language :: Python :: 2.7',
50         'Topic :: Software Development :: Bug Tracking',
51         ],
52     packages=['libbe',
53               'libbe.command',
54               'libbe.storage',
55               'libbe.storage.util',
56               'libbe.storage.vcs',
57               'libbe.ui',
58               'libbe.ui.util',
59               'libbe.util'],
60     scripts=['be'],
61     data_files=data_files,
62     requires=[
63         'Jinja2 (>=2.6)',
64         'CherryPy (>=3.2)',
65         ]
66     )