from pybuilder.core import use_plugin, init

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.install_dependencies")
use_plugin("python.flake8")
use_plugin("python.coverage")
use_plugin("python.distutils")


name = "shmock"
default_task = "publish"


@init
def set_properties(project):
    project.build_depends_on("mock<1.1")

from pybuilder.core import use_plugin, init, Author

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.install_dependencies")
use_plugin("python.flake8")
use_plugin("python.coverage")
use_plugin("python.distutils")


name = "shmock"
summary = 'SHell command MOCKer for integration testing'
version = '1.0.0'
description = open("README.rst").read()
url = 'https://github.com/ImmobilienScout24/shmock'
authors = [Author('Stefan Nordhausen', "stefan.nordhausen@immobilienscout24.de")]
license = 'Apache License 2.0'
default_task = "publish"


@init
def set_properties(project):
    project.build_depends_on("mock<1.1")

    project.set_property("distutils_classifiers", [
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
         ])

Prepare release on Pypi