~ursinha/ubuntu-ci-services-itself/private-only-is-env-variable

« back to all changes in this revision

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

  • Committer: Ursula Junque (Ursinha)
  • Date: 2014-03-14 21:40:47 UTC
  • Revision ID: ursinha@canonical.com-20140314214047-oxu080435bqw0mor
Fixing tests to use right variable; Making it explicit the user choice for privacy

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
16
 
17
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
 
18
import sys
 
19
 
 
20
# get ci_utils.setuptools on the path
 
21
ci_utils = os.path.join(os.path.dirname(__file__), '../ci-utils')
 
22
sys.path.append(ci_utils)
 
23
from ci_utils.setup_helper import setup
27
24
 
28
25
requires = [
29
26
    'WebTest==2.0.10',
30
27
    'amqplib==1.0.0',
 
28
    'chardet>=2.0.1',
 
29
    'dput>=1.6',
 
30
    'launchpadlib==1.10.2',
 
31
    'lazr.enum>=1.1.2',
31
32
    'mock==1.0.1',
32
33
    'restish==0.12.1',
33
34
]
34
35
 
35
 
setup(
36
 
    name='branch-source-builder',
37
 
    version=bsbuilder.__version__,
38
 
    description='Branch/Source Builder component of Ubuntu CI Engine',
39
 
    author='Canonical CI Engineering Team',
40
 
    license='AGPL',
41
 
    packages=packages,
42
 
    test_suite='bsbuilder.tests',
43
 
    install_requires=requires,
44
 
)
 
36
setup('branch-source-builder', 'bsbuilder.tests', requires)