# -*- coding: utf-8 -*-
from setuptools import setup, find_packages

VERSION = (0, 2, 0)
__version__ = VERSION
__versionstr__ = '.'.join(map(str, VERSION))

setup(
    name = 'citools',
    version = __versionstr__,
    description = 'Coolection of plugins to help with building CI system',
    long_description = '\n'.join((
        'CI Tools',
        '',
        'Ultimate goal of CI system is to provide single "integration button"',
        'to automagically do everything needed for creating a release',
        "(and ensure it's properly build version).",
        '',
        "This package provides a set of setuptools plugins (setup.py commands)",
        "to provide required functionality and make CI a breeze.",
        "Main aim of this project are Django-based applications, but it's usable",
        "for generic python projects as well.",
    )),
    author = 'centrum holdings s.r.o',
    author_email='devel@centrumholdings.com',
    license = 'BSD',
    url='http://github.com/ella/citools/tree/master',

    packages = find_packages(
        where = '.',
        exclude = ('docs', 'tests')
    ),

    include_package_data = True,

    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 2.5",
        "Programming Language :: Python :: 2.6",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    entry_points = {
        'console_scripts': [
            'citools = citools.main:main',
            'cthulhubot_force_build = citools.cthulhubot:force_build',
        ],
    },
    install_requires = [
        'setuptools>=0.6b1',
        'argparse>=0.9.0',
        'pyparsing',
    ],
)


# -*- coding: utf-8 -*-
from setuptools import setup, find_packages

VERSION = (0, 2, 0)
__version__ = VERSION
__versionstr__ = '.'.join(map(str, VERSION))

setup(
    name = 'citools',
    version = __versionstr__,
    description = 'Coolection of plugins to help with building CI system',
    long_description = '\n'.join((
        'CI Tools',
        '',
        'Ultimate goal of CI system is to provide single "integration button"',
        'to automagically do everything needed for creating a release',
        "(and ensure it's properly build version).",
        '',
        "This package provides a set of setuptools plugins (setup.py commands)",
        "to provide required functionality and make CI a breeze.",
        "Main aim of this project are Django-based applications, but it's usable",
        "for generic python projects as well.",
    )),
    author = 'centrum holdings s.r.o',
    author_email='devel@centrumholdings.com',
    license = 'BSD',
    url='http://github.com/ella/citools/tree/master',

    packages = find_packages(
        where = '.',
        exclude = ('docs', 'tests')
    ),

    include_package_data = True,

#    buildbot_meta_master = {
#        'host' : 'cnt-buildmaster.dev.chservices.cz',
#        'port' : 9996,
#        'branch' : 'master',
#    },

    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 2.5",
        "Programming Language :: Python :: 2.6",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    entry_points = {
        'console_scripts': [
            'citools = citools.main:main',
            'cthulhubot_force_build = citools.cthulhubot:force_build',
        ],
        'distutils.commands' : [
            'compute_version_git = citools.version:GitSetVersion',
            'compute_version_meta_git = citools.version:GitSetMetaVersion',
            'create_debianization = citools.debian:CreateDebianization',
            'update_debian_version = citools.debian:UpdateDebianVersion',
            'create_debian_package = citools.debian:CreateDebianPackage',
            'create_debian_meta_package = citools.debian:CreateDebianMetaPackage',
            'bdist_deb = citools.debian:BuildDebianPackage',
            'update_dependency_versions = citools.debian:UpdateDependencyVersions',
            'copy_dependency_images = citools.build:CopyDependencyImages',
            'buildbot_ping_git = citools.buildbots:BuildbotPingGit',
            'save_repository_information_git = citools.git:SaveRepositoryInformationGit',
        ],
        "distutils.setup_keywords": [
            "dependencies_git_repositories = citools.version:validate_repositories",
            "buildbot_meta_master = citools.buildbots:validate_meta_buildbot",
        ],
    },
    install_requires = [
        'setuptools>=0.6b1',
        'argparse>=0.9.0',
        'pyparsing',
    ],
)


Revert "Also remove distutils entry point, in a complete paver move (refs #7340)"