view setup-slave.py @ 565:78109beea395

Type fixes for Postgres 8.x (we noticed issues on 8.3. Newer versions of Postgres don't auto massage integers from Python to string values in the database. In Bitten, this was causing issues with the 'id' field of bitten_rule, which was actually an integer (coming from the id field of the bitten_platform table.) Without explicitly converting it to a string, you'd see the error reported in #390. Added upgrade steps, tested on Postgres8.3. Closes #390. We may want to rename this field to 'platform' later.
author wbell
date Sat, 16 May 2009 22:39:21 +0000
parents 79bf2969613d
children 5f3e66e5b451
line wrap: on
line source
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2007 Edgewall Software
# Copyright (C) 2005-2007 Christopher Lenz <cmlenz@gmx.de>
# Copyright (C) 2005-2007 David Fraser <davidf@sjsoft.com>
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://bitten.edgewall.org/wiki/License.

from setuptools import setup
from setuptools.command import egg_info

NS = 'http://bitten.cmlenz.net/tools/'

# TODO: there must be a way to pass this altered value in...
egg_info.manifest_maker.template = "MANIFEST-SLAVE.in"

setup(
    name = 'Bitten-Slave',
    version = '0.6',
    description = 'Continuous integration build slave for Trac',
    long_description = \
"""A slave for running builds and submitting them to Bitten, the continuous integration system for Trac""",
    author = 'Edgewall Software',
    author_email = 'info@edgewall.org',
    license = 'BSD',
    url = 'http://bitten.edgewall.org/',
    download_url = 'http://bitten.edgewall.org/wiki/Download',
    zip_safe = False,

    py_modules = ["bitten.__init__", "bitten.slave",
                 "bitten.build.__init__", "bitten.build.api", "bitten.build.config",
                 "bitten.recipe", "bitten.tests.slave",
                 "bitten.util.__init__", "bitten.util.testrunner", "bitten.util.xmlio",
                ],
    test_suite = 'bitten.tests.slave',
    entry_points = {
        'console_scripts': [
            'bitten-slave = bitten.slave:main'
        ],
        'distutils.commands': [
            'unittest = bitten.util.testrunner:unittest'
        ],
    },
)
Copyright (C) 2012-2017 Edgewall Software