old_contents: #  The MIT License (MIT)
  #
  #  Copyright (c) 2014 ImmobilienScout GmbH
  #
  #  Permission is hereby granted, free of charge, to any person obtaining a copy
  #  of this software and associated documentation files (the "Software"), to deal
  #  in the Software without restriction, including without limitation the rights
  #  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  #  copies of the Software, and to permit persons to whom the Software is
  #  furnished to do so, subject to the following conditions:
  #
  #  The above copyright notice and this permission notice shall be included in
  #  all copies or substantial portions of the Software.
  #
  #  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  #  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  #  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  #  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  #  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  #  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  #  THE SOFTWARE.
  
  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")
  use_plugin("copy_resources")
  use_plugin("python.frosted")
  use_plugin("python.pycharm")
  use_plugin("python.cram")
  
  
  name = "aws-stager"
  default_task = ['clean', 'analyze', 'publish']
  version = "0.0.1"
  
  
  @init
  def set_properties(project):
      project.set_property("verbose", True)
  
      project.build_depends_on("mock")
  
      project.depends_on("docopt")
      project.depends_on("boto")
  
      project.set_property('flake8_verbose_output', True)
      project.set_property('coverage_break_build', False)
      project.set_property('flake8_include_test_sources', True)
      project.set_property('flake8_include_scripts', True)
      project.set_property('flake8_ignore', 'E501')
      project.set_property('flake8_break_build', False)
  
      project.set_property('copy_resources_target', '$dir_dist')
      project.get_property('copy_resources_glob').append('setup.cfg')
  
      project.set_property('verbose', True)
  
  
  @init(environments='teamcity')
  def set_properties_for_teamcity_builds(project):
      import os
      project.set_property('teamcity_output', True)
      project.version = '%s-%s' % (project.version, os.environ.get('BUILD_NUMBER', 0))
      project.default_task = ['clean', 'install_build_dependencies', 'publish']
      project.set_property('install_dependencies_index_url', os.environ.get('PYPIPROXY_URL'))
      project.set_property('install_dependencies_use_mirrors', False)
      project.rpm_release = os.environ.get('RPM_RELEASE', 0)
  
new_contents: #  The MIT License (MIT)
  #
  #  Copyright (c) 2014 ImmobilienScout GmbH
  #
  #  Permission is hereby granted, free of charge, to any person obtaining a copy
  #  of this software and associated documentation files (the "Software"), to deal
  #  in the Software without restriction, including without limitation the rights
  #  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  #  copies of the Software, and to permit persons to whom the Software is
  #  furnished to do so, subject to the following conditions:
  #
  #  The above copyright notice and this permission notice shall be included in
  #  all copies or substantial portions of the Software.
  #
  #  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  #  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  #  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  #  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  #  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  #  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  #  THE SOFTWARE.
  
  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")
  use_plugin("copy_resources")
  use_plugin("python.frosted")
  use_plugin("python.pycharm")
  use_plugin("python.cram")
  
  
  name = "aws-stager"
  default_task = ['clean', 'analyze', 'publish']
  version = "0.0.1"
  
  
  @init
  def set_properties(project):
      project.set_property("verbose", True)
  
      project.build_depends_on("mock")
  
      project.depends_on("docopt")
      project.depends_on("boto")
  
      project.set_property('flake8_verbose_output', True)
      project.set_property('flake8_break_build', True)
      project.set_property('flake8_include_test_sources', True)
      project.set_property('flake8_include_scripts', True)
      project.set_property('flake8_ignore', 'E501')
      project.set_property('coverage_break_build', True)
  
      project.set_property('copy_resources_target', '$dir_dist')
      project.get_property('copy_resources_glob').append('setup.cfg')
  
      project.set_property('verbose', True)
  
  
  @init(environments='teamcity')
  def set_properties_for_teamcity_builds(project):
      import os
      project.set_property('teamcity_output', True)
      project.version = '%s-%s' % (project.version, os.environ.get('BUILD_NUMBER', 0))
      project.default_task = ['clean', 'install_build_dependencies', 'publish']
      project.set_property('install_dependencies_index_url', os.environ.get('PYPIPROXY_URL'))
      project.set_property('install_dependencies_use_mirrors', False)
      project.rpm_release = os.environ.get('RPM_RELEASE', 0)
  
subject: break build with coverage/flake8