~ursinha/ubuntu-ci-services-itself/401-copying-di-check

« back to all changes in this revision

Viewing changes to branch-source-builder/setup.py

  • Committer: Andy Doan
  • Date: 2013-12-09 20:05:05 UTC
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: andy.doan@canonical.com-20131209200505-o4x971tjw7ek0oya
first pass at stubbing out a branch-source-builder

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
# Ubuntu CI Services
 
3
# Copyright 2013 Canonical Ltd.
 
4
 
 
5
# This program is free software: you can redistribute it and/or modify it
 
6
# under the terms of the GNU Affero General Public License version 3, as
 
7
# published by the Free Software Foundation.
 
8
 
 
9
# This program is distributed in the hope that it will be useful, but
 
10
# WITHOUT ANY WARRANTY; without even the implied warranties of
 
11
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 
12
# PURPOSE.  See the GNU Affero General Public License for more details.
 
13
 
 
14
# You should have received a copy of the GNU Affero General Public License
 
15
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
16
 
 
17
import os
 
18
 
 
19
from setuptools import find_packages, setup
 
20
 
 
21
# ensure find_packages works if our current directory isn't this project
 
22
basedir = os.path.abspath(os.path.dirname(__file__))
 
23
os.chdir(basedir)
 
24
packages = find_packages(basedir)
 
25
 
 
26
import bsbuilder
 
27
 
 
28
requires = [
 
29
    'restish==0.12.1',
 
30
    'amqplib==1.0.0',
 
31
    'mock==1.0.1',
 
32
    'WebTest==2.0.10',
 
33
]
 
34
 
 
35
setup(
 
36
    name='branch-source-builder',
 
37
    version=bsbuilder.__version__,
 
38
    description='Branch/Source Builder component of Ubuntu CI Services',
 
39
    author='Canonical CI Engineering Team',
 
40
    license='AGPL',
 
41
    packages=packages,
 
42
    test_suite='tests',
 
43
    install_requires=requires,
 
44
)