~joetalbott/uci-engine/user_auth

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
#!/usr/bin/env python
# Ubuntu CI Engine
# Copyright 2013, 2014 Canonical Ltd.

# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License version 3, 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 warranties of
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
# PURPOSE.  See the GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

import os
import sys

requires = [
    'pyOpenSSL==0.14',
    'PyYAML==3.10',
    'amqplib==1.0.0',
    'launchpadlib==1.10.2',
    'mock==1.0.1',
    'ucitests==0.1.5',
]


HERE = os.path.abspath(os.path.dirname(__file__))
# get ci_utils.setuptools on the path
sys.path.append(os.path.join(HERE, '..', 'ci-utils'))
from ci_utils.setup_helper import setup

extra = {
    'entry_points': {
        'console_scripts': [
            'modify-cloud-image = imagebuilder.cloud_image:main'
        ]
    },
    'requires_openstack': True,
}

setup('image-builder', 'imagebuilder.tests', requires, **extra)