summaryrefslogtreecommitdiff
path: root/setup.py
blob: 1ab6cc4fabbce011c0c905bc81059febc153b17f (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python
#
# This file is part of REPA: Release Engineering Process Assistant.
#
# Copyright (C) 2013 Intel Corporation
#
# REPA is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.

"""
REPA: Release Engineering Process Assistant.

Copyright (C) Intel Corporation 2013
Licence: GPL version 2
Author: Ed Bartosh <eduard.bartosh@intel.com>

Setup module
"""
import os
from setuptools import setup

setup(name="repa",
      version='0.3',
      author='Ed Bartosh',
      author_email='eduard.bartosh@intel.com',
      packages=['repa'],
      namespace_packages=['repa'],
      data_files=[
          ('share/doc/packages/repa/', ['README']),
          ('share/man/man1/', ['repa.1']),
          (['/etc', 'etc'][bool(os.getenv('VIRTUAL_ENV'))], ['repa.conf'])],
      entry_points={
          'console_scripts': ['repa = repa.main:main'],
          'repa_commands':   ['list = repa.list:List',
                              'group = repa.group:Group',
                              'accept = repa.accept:Accept',
                              'reject = repa.reject:Reject',
                              'rmgroup = repa.rmgroup:RmGroup',
                              'show = repa.show:Show',
                              'diff = repa.diff:Diff',
                              'rebuild = repa.rebuild:Rebuild',
                              'lock = repa.lock:Lock',
                              'unlock = repa.unlock:Unlock',
                              'remove = repa.remove:Remove']
      })