コード例 #1
0
ファイル: build.py プロジェクト: careerfamily/simpleioc
from pybuilder.core import use_plugin, init

use_plugin('python.core')
# build
use_plugin('python.install_dependencies')
use_plugin('python.pydev')
use_plugin('python.distutils')
# quality
use_plugin('python.unittest')
use_plugin('python.coverage')
use_plugin('python.frosted')
use_plugin('python.flake8')
use_plugin('python.pylint')
use_plugin('python.pep8')
# IDE
use_plugin('python.pycharm')

default_task = ['install_dependencies', 'analyze', 'publish']

@init
def set_properties(project):
    project.set_property('frosted_break_build', True)
    project.set_property('flake8_break_build', True)
    project.set_property('pylint_options', ["--max-line-length=79"])

コード例 #2
0
ファイル: build.py プロジェクト: xlogan777/github_repo1
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('python.pydev')

name = "sample_pybuilder"
default_task = "publish"


@init
def set_properties(project):
    pass
コード例 #3
0
ファイル: build.py プロジェクト: karellen/ctinker
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

from pybuilder.core import (use_plugin, init, Author)

use_plugin("pypi:karellen_pyb_plugin", ">=0.0.1")
use_plugin("python.coveralls")

name = "ctinker"
version = "0.0.4"

summary = "CTinker is a C project introspection and augmentation tool"
authors = [Author("Karellen, Inc.", "*****@*****.**")]
maintainers = [Author("Arcadiy Ivanov", "*****@*****.**")]
url = "https://github.com/karellen/ctinker"
urls = {
    "Bug Tracker": "https://github.com/karellen/ctinker/issues",
    "Source Code": "https://github.com/karellen/ctinker/",
    "Documentation": "https://github.com/karellen/ctinker/"
}
license = "Apache License, Version 2.0"
コード例 #4
0
ファイル: coverage_plugin.py プロジェクト: timeyyy/pybuilder
import sys

try:
    from StringIO import StringIO
except ImportError as e:
    from io import StringIO

import os
from distutils import sysconfig
from pybuilder.core import init, after, use_plugin
from pybuilder.utils import discover_modules, render_report, fork_process, is_windows
from pybuilder.coverage_utils import patch_multiprocessing, reverse_patch_multiprocessing
from pybuilder.errors import BuildFailedException

use_plugin("python.core")
use_plugin("analysis")


@init
def init_coverage_properties(project):
    project.plugin_depends_on("coverage", "~=4.2")

    project.set_property_if_unset("coverage_threshold_warn", 70)
    project.set_property_if_unset("coverage_branch_threshold_warn", 0)
    project.set_property_if_unset("coverage_branch_partial_threshold_warn", 0)
    project.set_property_if_unset("coverage_break_build", True)
    project.set_property_if_unset("coverage_allow_non_imported_modules", True)
    project.set_property_if_unset("coverage_reload_modules",
                                  None)  # deprecated, unused
    project.set_property_if_unset("coverage_reset_modules", False)
コード例 #5
0
ファイル: build.py プロジェクト: arcivanov/pybuilder
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

import sys

sys.path.insert(0, 'src/main/python')  # This is only necessary in PyBuilder sources for bootstrap

from pybuilder import bootstrap
from pybuilder.core import Author, init, use_plugin

bootstrap()

use_plugin("python.core")
use_plugin("python.pytddmon")
use_plugin("python.distutils")
use_plugin("python.install_dependencies")

use_plugin("copy_resources")
use_plugin("filter_resources")
use_plugin("source_distribution")

use_plugin("python.unittest")

if sys.platform != "win32":
    use_plugin("python.cram")

use_plugin("python.integrationtest")
use_plugin("python.coverage")
コード例 #6
0
ファイル: build.py プロジェクト: jocki/gitvotal
from pybuilder.core import Author, init, use_plugin, task, depends
import os
import shutil
import subprocess

use_plugin("python.core")
use_plugin("python.install_dependencies")
use_plugin("python.distutils")
use_plugin("python.unittest")
use_plugin("source_distribution")

default_task = "publish"

name = "gitvotal"
summary = "Connecting GitHub Issue with Pivotal Tracker"
description = "This project will create new Pivotal Tracker story based on GitHub issue"
authors = [Author("jocki", "*****@*****.**")]
url = "https://github.com/jocki/gitvotal"
version = "0.1"


def _docker_build(project, logger):
    profile = project.get_property('profile')

    # Creating docker staging directory
    docker_dir = project.expand("$dir_target/docker")
    logger.info("Creating docker staging at {0}".format(docker_dir))
    shutil.rmtree(docker_dir, True)
    os.mkdir(docker_dir)

    # Copying Dockerfile
コード例 #7
0
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#    http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


from pybuilder.core import init, use_plugin, Author, before

# declare specific plugins we need to use:
use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.coverage")
use_plugin("python.distutils")
use_plugin("filter_resources")
use_plugin("copy_resources")
use_plugin("source_distribution")
use_plugin("python.sonarqube")
use_plugin("exec")

# define project level attributes:
name = 'clc-ansible-module'
version = '1.1.16'
summary = "Centurylink Cloud Ansible Modules"
description = "Ansible extension modules which allow users to interact with Centurylink Cloud to define and manage cloud components."
authors = [Author ("CenturyLink Cloud", "*****@*****.**")]
コード例 #8
0
from pybuilder.core import use_plugin, init

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

name = "aws-ha-updater"
default_task = ['clean', 'analyze', 'publish']
version = '0.6'


@init
def set_properties(project):
    project.build_depends_on('mock')
    project.depends_on('docopt')
    project.depends_on('boto')
    project.depends_on('argparse')
    project.depends_on("unittest-xml-reporting<2.0")

    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)
コード例 #9
0
ファイル: build.py プロジェクト: yadt/shtub
#   This program is free software: you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation, either version 3 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.

from pybuilder.core import use_plugin, init, Author

use_plugin('filter_resources')

use_plugin('python.core')
use_plugin('python.coverage')
use_plugin('python.unittest')
use_plugin('python.integrationtest')
use_plugin('python.install_dependencies')
use_plugin('python.distutils')

name = 'shtub'
authors = [Author('Alexander Metzner', '*****@*****.**'),
           Author('Michael Gruber', '*****@*****.**'),
           Author('Maximilien Riehl', '*****@*****.**'),
           Author('Marcel Wolf', '*****@*****.**'),
           Author('Udo Juettner', '*****@*****.**')]
license = 'GNU GPL v3'
コード例 #10
0
ファイル: build.py プロジェクト: aadebuger/ftdigpio
from pybuilder.core import use_plugin

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.pydev")
name = "ftdigpio"
default_task = "publish"



コード例 #11
0
ファイル: build.py プロジェクト: pyclectic/pyfix
pyfix Principals
````````````````

pyfix aims to make tests easy to read and understand while it encourages the use of accepted software design principles
such as favor composition over inheritance. pyfix also tries to reduce the amount of syntactic "waste" that some other
frameworks suffer from (i.e. putting self in front of almost everything).

Links
`````
* pyfix Github repository <https://github.com/pyclectic/pyfix>
"""

from pybuilder.core import init, use_plugin, Author

use_plugin("filter_resources")

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.integrationtest")
use_plugin("python.coverage")
use_plugin("python.pychecker")
use_plugin("python.distutils")

use_plugin("python.install_dependencies")

default_task = ["analyze", "publish"]

version = "0.2.3"
summary = "A framework for writing automated software tests (non xUnit based)"
description = __doc__
コード例 #12
0
from pybuilder.core import use_plugin, init, Author

use_plugin('python.core')
use_plugin('python.install_dependencies')
use_plugin('python.distutils')
use_plugin('python.flake8')

use_plugin('python.unittest')

use_plugin('copy_resources')

default_task = ['analyze', 'publish']

name = 'yadtbroadcast-client-wamp2'
version = '0.0.2'
summary = 'YADT - an Augmented Deployment Tool - The Broadcast Client Part'
description = """Yet Another Deployment Tool - The Broadcast Client Part
- sends state information to a Yadt Broadcast Server instance
- sends information on start/stop/status/update
- using the Wamp v2 protocol
"""
authors = [Author('Arne Hilmann', '*****@*****.**'),
           Author('Maximilien Riehl', '*****@*****.**'),
           Author('Marcel Wolf', '*****@*****.**')]
url = 'http://github.com/yadt/yadtbroadcast-client-wamp2'
license = 'GNU GPL v3'


@init
def set_properties(project):
    project.build_depends_on('mock')
コード例 #13
0

SCRIPT_DIR = os.path.dirname(__file__)

if sys.platform == 'win32':
    SUBLIME_TEXT_DATA_PATH = os.environ.get('SUBLIME_TEXT_DATA')
elif sys.platform == 'darwin':
    SUBLIME_TEXT_DATA_PATH = os.path.expanduser('~/Library/Application Support/Sublime Text 3')
else:
    SUBLIME_TEXT_DATA_PATH = os.path.expanduser('~/.config/sublime-text-3')

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

@init
def initialize(project):
    project.version = "0.0.1"
    project.set_property('dir_source_main_python', 'src')


@task
def develop():
    # TODO: locate the path to ST from running process if any.
    if sys.platform == 'win32':
        if not (SUBLIME_TEXT_DATA_PATH and os.path.exists(SUBLIME_TEXT_DATA_PATH)):
            print(r"Can't locate the Data folder. Please set %SUBLIME_TEXT_DATA%.")
            return
コード例 #14
0
ファイル: build.py プロジェクト: ImmobilienScout24/snakepit
#!/usr/bin/env python
#   -*- coding: utf-8 -*-

from pybuilder.core import use_plugin, init, Author
from pybuilder.vcs import VCSRevision

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('python.cram')

name = "snakepit"
default_task = "publish"
version = VCSRevision().get_git_revision_count()
summary = "Package Python software as an RPM including all dependencies " \
          "(even the interpreter)."
authors = [Author('Valentin Haenel', '*****@*****.**')]
license = 'Apache'
url = 'https://github.com/ImmobilienScout24/snakepit'


@init
def set_properties(project):
    project.set_property('install_dependencies_upgrade', True)
    project.build_depends_on("unittest2")
    project.build_depends_on("requests_mock")
    project.depends_on("jinja2")
    project.depends_on("pyyaml")
コード例 #15
0
from pybuilder.core import use_plugin, init, Author
import os

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('python.integrationtest')
use_plugin("pypi:pybuilder_aws_plugin")


name = "aws-set-sqs-permission-lambda"
version = "0.2"
summary = "aws-set-sqs-permission-lambda - Set SQS queue permissions for all ultimate source of accounts (usofa)"
description = """
    Set SQS queue permissions for all ultimate source of accounts (usofa)
    """
authors = [Author("Enrico Heine", "*****@*****.**"),
           Author("Tobias Vollmer", "*****@*****.**"),
           Author("Tobias Hoeynck", "*****@*****.**")]
url = "https://github.com/ImmobilienScout24/aws-set-sqs-permission-lambda"
license = "Apache License 2.0"
default_task = ["clean", "analyze", "package"]


@init(environments='teamcity')
def set_properties_for_teamcity_builds(project):
    project.set_property('teamcity_output', True)
    project.set_property('teamcity_parameter', 'filename')
コード例 #16
0
import subprocess
from pybuilder.core import Author, init, use_plugin, task, before, after

use_plugin("filter_resources")
use_plugin("python.core")
use_plugin("python.install_dependencies")
use_plugin("python.distutils")
use_plugin("python.pycharm")

name = "fuct"
url = "https://github.com/MrOnion/fuct"
description = "Visit %s for more information." % url

authors = [Author("Ari Karhu", "*****@*****.**")]
license = "MIT License"
summary = "Unified commandline tools for FreeEMS"

default_task = ["install_dependencies", "publish"]


@init
def set_properties(project, logger):
    project.get_property("filter_resources_glob").append("**/fuct/__init__.py")
    project.depends_on("pyserial", ">=2.7")
    project.depends_on("futures", ">=3.0.3")
    project.depends_on("colorlog[windows]", ">=2.0.0")
    logger.info("Executing git describe")
    project.version = subprocess.check_output(
        ["git", "describe", "--abbrev=0"]).rstrip("\n")
    project.set_property("gitdesc", subprocess.check_output(
        ["git", "describe", "--tags", "--always", "--long", "--dirty"]).rstrip("\n"))
コード例 #17
0
ファイル: build.py プロジェクト: matheusforny/carinhas
from pybuilder.core import use_plugin, init, Author

use_plugin("python.core")
use_plugin("python.install_dependencies")
use_plugin("python.unittest")
use_plugin("python.coverage")
use_plugin("python.distutils")
use_plugin('pypi:pybuilder_header_plugin')

url = 'https://github.com/labase/carinhas'
description = "Please visit {url}".format(url=url)
authors = [Author('Carlo Oliveira', '*****@*****.**')]
license = 'GNU General Public License v2 (GPLv2)'
summary = "A game of matching faces."
version = '0.1.1'
default_task = ['analyze', 'check_source_file_headers', 'publish']


@init
def initialize(project):
    project.build_depends_on('mockito')
    project.set_property('distutils_classifiers', [
        'Development Status :: 3 - Alpha',
        'Environment :: Web Environment',
        'Framework :: Bottle',
        'Intended Audience :: Education',
        'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
        'Natural Language :: Portuguese (Brazilian)',
        'Topic :: Games/Entertainment :: Puzzle Games',
        'Topic :: Education',
        'Programming Language :: Python',
コード例 #18
0
ファイル: build.py プロジェクト: neuroidss/deeppavlov
from pybuilder.core import use_plugin, init, task, depends, description
import os
import build_utils as bu

use_plugin('python.core')
use_plugin('python.unittest')
use_plugin('python.install_dependencies')

default_task = 'build'


def create_dir(dir):
    os.makedirs('build/' + dir, mode=0o755, exist_ok=True)


@init
def set_properties(project):
    import sys
    cwd = os.getcwd()
    sys.path.append(cwd)
    os.environ['EMBEDDINGS_URL'] = os.getenv(
        'EMBEDDINGS_URL',
        default='http://share.ipavlov.mipt.ru:8080/repository/embeddings/')
    os.environ['MODELS_URL'] = os.getenv(
        'MODELS_URL',
        default='http://share.ipavlov.mipt.ru:8080/repository/models/')
    os.environ['DATASETS_URL'] = os.getenv(
        'DATASETS_URL',
        default='http://share.ipavlov.mipt.ru:8080/repository/datasets/')
    os.environ['KERAS_BACKEND'] = os.getenv('KERAS_BACKEND',
                                            default='tensorflow')
コード例 #19
0
ファイル: build.py プロジェクト: aadebuger/oneapmflask
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("python.pydev")

name = "oneapmflask"
default_task = "publish"


@init
def set_properties(project):
    pass
コード例 #20
0
ファイル: build.py プロジェクト: cahuja1992/Kafka-MySQL-Avro
from pybuilder.core import use_plugin, init, Author

use_plugin('filter_resources')

use_plugin('python.core')
use_plugin('python.coverage')
use_plugin('python.pyfix_unittest')
use_plugin('python.integrationtest')
use_plugin('python.install_dependencies')
use_plugin('python.flake8')
use_plugin('python.pydev')

name = 'flask-example'
authors = [Author('Chirag Ahuja', '*****@*****.**')]
license = '0.1'
summary = 'Test'
version = '0.1.2'

default_task = ['install_dependencies', 'analyze', 'publish']


@init
def set_properties(project):
    project.build_depends_on('kafka')
    project.build_depends_on('avro')
    project.build_depends_on('MySQLdb')

    project.get_property('filter_resources_glob').append('**/lib/__init__.py')
コード例 #21
0
ファイル: build.py プロジェクト: AnudeepHemachandra/pybuilder
#   -*- coding: utf-8 -*-
#
#   This file is part of PyBuilder
#
#   Copyright 2011-2014 PyBuilder Team
#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.
from pybuilder.core import use_plugin

use_plugin("python.core")
use_plugin("python.pyfix_unittest")
use_plugin("python.coverage")
use_plugin("python.distutils")

default_task = "publish"
コード例 #22
0
ファイル: build.py プロジェクト: igordertigor/yadoma
import os
from pybuilder.core import use_plugin, init
from pybuilder.vcs import VCSRevision

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("python.cram")
use_plugin("filter_resources")

name = "yadoma"
default_task = "publish"
version = '{0}.{1}'.format(VCSRevision().count,
                           os.environ.get('TRAVIS_BUILD_NUMBER', 0))


@init
def set_properties(project):
    project.depends_on('docopt')
    project.depends_on('pyyaml')
    project.get_property('filter_resources_glob').extend(
        ['**/yadoma/__init__.py'])
コード例 #23
0
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

import sys

sys.path.insert(0, 'src/main/python')

from pybuilder.core import Author, init, use_plugin
from pybuilder_header_plugin import check_source_file_headers

use_plugin('python.core')
use_plugin('python.distutils')
use_plugin('python.flake8')
use_plugin('python.install_dependencies')
use_plugin('pypi:pybuilder_release_plugin')

url = 'https://github.com/aelgru/pybuilder_header_plugin'
description = 'Please visit {0} for more information!'.format(url)

name = 'pybuilder_header_plugin'
authors = [Author('Michael Gruber', '*****@*****.**')]
license = 'Apache License, Version 2.0'
summary = 'PyBuilder Header PlugIn'
version = '0.0.2'

default_task = ['analyze', 'publish', 'check_source_file_headers']
コード例 #24
0
ファイル: build.py プロジェクト: V-coder036/Capstone2
from pybuilder.core import use_plugin, init, task

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


@task
def run():
    from sys import path
    path.append("src/main/python")
    from web import app
    app.run(debug=True, host='0.0.0.0', port=8000)


name = "g"
default_task = ["publish", "run"]


@init
def set_properties(project):
    project.set_property("coverage_exceptions", ['web'])
    project.build_depends_on("tensorflow")
    project.build_depends_on("flask")
    project.build_depends_on("selenium")
    project.build_depends_on("pillow")
コード例 #25
0
ファイル: build.py プロジェクト: TANGO-Project/alde
# https://www.gnu.org/licenses/agpl-3.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
# 
# This is being developed for the TANGO Project: http://tango-project.eu
#
# ALDE PyBuilder script
#

from pybuilder.core import init, use_plugin

use_plugin("python.core")
use_plugin("python.unittest")
#use_plugin("python.coverage")
use_plugin("python.install_dependencies")
use_plugin("python.distutils")
use_plugin("pypi:pybuilder_smart_copy_resources")
#use_plugin("python.sonarqube")

default_task = ["clean", "publish"]

# SonarQube configuration:
sonarqube_project_name = "tango-alde"
sonarqube_project_key = "ce9b5211cc48e2ca6ac94406eb8fe0a0f31eed06"

# Coverage configuration:
coverage_allow_non_imported_modules = "True"
コード例 #26
0
ファイル: stdeb_plugin.py プロジェクト: xbhuang/pybuilder
from pybuilder.utils import assert_can_execute
from pybuilder.utils import execute_command
from pybuilder.errors import BuildFailedException
from pybuilder.core import NAME_ATTRIBUTE
from pybuilder.core import (after,
                            task,
                            init,
                            use_plugin,
                            depends)

__author__ = 'Marcel Wolf'

DEB_PACKAGE_MAINTAINER = "John Doe <*****@*****.**>"

use_plugin("core")


@init
def initialize_make_deb_plugin(project):

    project.plugin_depends_on("stdeb")

    package_name = project.name + "-" + project.version + ".tar.gz"

    PATH_TO_SOURCE_TARBALL = project.expand_path(
        "$dir_dist/dist/" + package_name)
    PATH_FINAL_BUILD = project.expand_path("$dir_dist/dist/")

    project.set_property_if_unset(
        "deb_package_maintainer", DEB_PACKAGE_MAINTAINER)
コード例 #27
0
from pybuilder.core import init, use_plugin, Author
import os
use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.install_dependencies")
use_plugin("python.distutils")
use_plugin("copy_resources")

name = "PyBarCodeScan"

authors = [Author('Christian Franke', '*****@*****.**')]
description = "Scan tool"
license = 'APACHE LICENSE, VERSION 2.0'
summary = 'Scan tool'
url = 'https://github.com/cfranke/scan'
version = '0.1'

default_task = ['clean', 'package']


@init
def initialize(project):
    project.build_depends_on('mockito')
    project.depends_on("httplib2")
    project.depends_on("Flask")
    project.depends_on("gunicorn")
    project.depends_on("gevent")
    project.depends_on("flask-sse")
    project.depends_on("six")
    project.depends_on("redis")
    project.depends_on("click")
コード例 #28
0
ファイル: build.py プロジェクト: thezooperman/parking_lot
#!/usr/bin/env python

from pybuilder.core import init, use_plugin

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.install_dependencies")

default_task = "publish"


@init
def initialize(project):
    project.build_depends_on('mockito')
コード例 #29
0
ファイル: build.py プロジェクト: rspitler/infra-buddy
import os

from pybuilder.core import init, use_plugin

use_plugin("python.core")
use_plugin("python.install_dependencies")
use_plugin("python.coverage")
use_plugin("python.distutils")
use_plugin("exec")
use_plugin("python.unittest")
use_plugin("python.pylint")
use_plugin("copy_resources")
use_plugin("python.pycharm")
default_task = "publish"
requires_python = ">=3.6.0"

name = "infra-buddy"


@init
def initialize(project):

    build_number = project.get_property("build_number",os.environ.get('GITHUB_RUN_NUMBER',
                                                                      os.environ.get('TRAVIS_BUILD_NUMBER')))
    if build_number is not None and "" != build_number:
        project.version = build_number
    else:
        project.version = "0.0.999"

    # Project Manifest
    project.name = "infra-buddy"
コード例 #30
0
ファイル: pylint_plugin.py プロジェクト: Hawks12/pybuilder
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

from pybuilder.core import use_plugin, after, init, task
from pybuilder.utils import assert_can_execute
from pybuilder.plugins.python.python_plugin_helper import execute_tool_on_modules

use_plugin("python.core")
use_plugin("analysis")

DEFAULT_PYLINT_OPTIONS = ["--max-line-length=100", "--no-docstring-rgx=.*"]


@init
def init_pylint(project):
    project.plugin_depends_on("pylint")
    project.set_property_if_unset("pylint_options", DEFAULT_PYLINT_OPTIONS)


@after("prepare")
def check_pylint_availability(logger):
    logger.debug("Checking availability of pychecker")
    assert_can_execute(("pylint", ), "pylint", "plugin python.pylint")
コード例 #31
0
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

import subprocess

from pybuilder.core import use_plugin, task, init, description

use_plugin('python.core')


@init
def init_pytddmon_plugin(project):
    project.build_depends_on('pytddmon', '>=1.0.2')


@task
@description('Start monitoring tests.')
def pytddmon(project, logger):
    import os
    unittest_directory = project.get_property('dir_source_unittest_python')
    environment = os.environ.copy()
    python_path_relative_to_basedir = project.get_property('dir_source_main_python')
    absolute_python_path = os.path.join(project.basedir, python_path_relative_to_basedir)
コード例 #32
0
#   the Free Software Foundation, either version 3 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.

from pybuilder.core import use_plugin, init, Author, task
from pybuilder.utils import assert_can_execute


use_plugin('python.core')
use_plugin('python.integrationtest')
use_plugin('python.install_dependencies')
use_plugin('python.flake8')

use_plugin('python.distutils')
use_plugin('python.pydev')

use_plugin('copy_resources')


authors = [Author('Arne Hilmann', '*****@*****.**'),
           Author('Maximilien Riehl', '*****@*****.**'),
           Author('Marcel Wolf', '*****@*****.**'),
           Author('Schlomo Schapiro','*****@*****.**')]
コード例 #33
0
ファイル: build.py プロジェクト: shenxuedong/pybuilder
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

import sys

sys.path.insert(0, 'src/main/python')  # This is only necessary in PyBuilder sources for bootstrap

from pybuilder import bootstrap
from pybuilder.core import Author, init, use_bldsup, use_plugin

bootstrap()

use_plugin("pypi:pybuilder_external_plugin_demo")
use_plugin("python.core")
use_plugin("python.pytddmon")
use_plugin("python.distutils")
use_plugin("python.install_dependencies")

use_plugin("copy_resources")
use_plugin("filter_resources")
use_plugin("source_distribution")

use_plugin("python.coverage")
use_plugin("python.unittest")
use_plugin("python.integrationtest")
use_plugin("python.flake8")
use_plugin("python.frosted")
use_plugin("python.jedi_linter")
コード例 #34
0
ファイル: build.py プロジェクト: zenweasel/pybuilder
#  This file is part of PyBuilder
#
#  Copyright 2011-2014 PyBuilder Team
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
from pybuilder.core import init, use_plugin

use_plugin("python.core")
use_plugin("python.install_dependencies")
use_plugin("python.pyfix_unittest")
use_plugin("python.coverage")
use_plugin("python.distutils")

default_task = "publish"

@init
def initialize(project):
    project.build_depends_on('mockito')
コード例 #35
0
from pybuilder.core import use_plugin, task, init
import subprocess
import sys
import os
import json
import builtins

use_plugin('python.core')
use_plugin('python.frosted')

config = {}
dir_path = os.path.dirname(os.path.realpath(__file__))

__spot = ''

def check_db_exists():

    @init
    def initialize(project):
        __spot = project.get_property(t)

    # check if ufree database exists
    print('Checking DB for required tables...')
    if not config['database']['password']:
        print('Password not found. Using default')
        arg_array = [
            'psql',
            '-U',
            config['database']['user'],
            os.environ['DB_NAME']
        ]
コード例 #36
0
from pybuilder.core import init, use_plugin


@init
def initialize(project):
    project.set_property("run_unit_tests_propagate_stdout", True)
    project.set_property("run_unit_tests_propagate_stderr", True)
    project.depends_on("apache-airflow", "==1.9.0")
    project.depends_on("cryptography", "==2.2.1")
    project.set_property('verbose', True)


use_plugin("exec")
use_plugin("python.core")
use_plugin("python.unittest")
use_plugin('python.install_dependencies')

default_task = ['clean']
コード例 #37
0
from pybuilder.core import use_plugin, init

use_plugin('python.core')
use_plugin('python.install_dependencies')
use_plugin('python.distutils')
use_plugin("python.unittest")
use_plugin('python.pydev')
use_plugin('python.pycharm')

default_task = ['analyze']


@init
def initialize(project):

    #Set source directory
    project.set_property('dir_source_main_python', 'zad-2')
    project.set_property('dir_source_unittest_python', 'tests')

    #install dependencies
    project.depends_on_requirements("requirements.txt")
コード例 #38
0
#!/usr/bin/env python
import sys
sys.path.insert(0, 'src/main/python')

from pybuilder_nose import run_unit_tests, clean_coverage, init_nose
from pybuilder.core import Author, init, use_plugin

use_plugin('python.core')
use_plugin('python.distutils')
use_plugin('python.install_dependencies')
use_plugin('copy_resources')

name = 'pybuilder-nose'
version = '0.0.5'

authors = [Author('Alex Dowgailenko', '*****@*****.**')]
url = 'https://github.com/alex-dow/pybuilder_nose'
description = 'Pybuilder plugin to work with Nose'
license = 'Apache License, Version 2.0'
summary = 'PyBuilder Nose Plugin'

default_task = ['clean', 'install_dependencies', 'publish']
#default_task = ['clean', 'install_dependencies', 'analyze', 'publish']


@init
def set_properties(project):
    project.set_property('flake8_verbose_output', True)

    project.get_property('distutils_commands')
    project.set_property('distutils_classifiers', [
コード例 #39
0
from pybuilder.core import use_plugin, init, task, depends
from pybuilder.errors import BuildFailedException

#Core Plugins
use_plugin("python.core")
use_plugin("python.install_dependencies")  #pyb install_dependencies

#QA Plugins
use_plugin("python.unittest")
use_plugin("python.coverage")

#Package Plugins
use_plugin("python.distutils")  #Create a setup.py

name = "hello-pybuilder"
default_task = [
    "clean", "install_dependencies", "publish", 'run_sonar_analysis'
]

# Coverage configuration:
#coverage_allow_non_imported_modules = "True"
#coverage_exceptions = [ 'file.py' ]


@init(environments='venv')
def set_properties(project):
    pass


@init
def initialize(project):
コード例 #40
0
ファイル: build.py プロジェクト: larsvens/lame-llama
from pybuilder.core import init, use_plugin

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

default_task = "publish"


@init
def initialize(project):
    project.build_depends_on('mockito')
コード例 #41
0
import os

from pybuilder.core import Author
from pybuilder.core import init
from pybuilder.core import use_bldsup
from pybuilder.core import use_plugin
from pybuilder.core import task

use_bldsup(build_support_dir = os.path.join("src", "main", "python"))
import ess2bmp

use_plugin("python.core")
use_plugin("python.install_dependencies")
use_plugin("python.distutils")

default_task = "publish"

@task
def convertAllIn(project):
	# normpath() allows for linux shortcuts like "~" to be parsed correctly,
	# and "foo/bar/../" is parsed correctly as "foo/"
	directory = os.path.normpath(project.get_property("directory"))
	output_dir = directory + "_bmp"

	if not os.path.exists(output_dir):
		os.makedirs(output_dir)

	file_names = [file for file in os.listdir(directory) if file.endswith(".ess")]
	for file_name in file_names:
		bmp_file_name = file_name[:-3] + "bmp"
		qualified_file_name = os.path.join(directory, file_name)
コード例 #42
0
# -*- coding: UTF8 -*-
from pybuilder.core import use_plugin, init, Author, task
import os
import sys
SRC = os.path.join(os.path.dirname(__file__), "src")
DOC = os.path.join(os.path.dirname(__file__), "docs")
sys.path.append(SRC)
from client.superpython import __version__


use_plugin("python.core")
use_plugin("python.install_dependencies")
use_plugin("python.unittest")
# use_plugin("python.coverage")
use_plugin("python.distutils")
# use_plugin('pypi:pybuilder_header_plugin')
use_plugin("exec")

url = 'https://github.com/labase/superpython'
description = "Please visit {url}".format(url=url)
authors = [Author('Carlo Oliveira', '*****@*****.**')]
license = 'GNU General Public License v2 (GPLv2)'
summary = "A project to teach primary and secondary students to program web games in Python."
version = __version__
default_task = ['analyze', 'publish', 'buid_docs']  # , 'post_docs']
# default_task = ['analyze']  # , 'post_docs']


@init
def initialize(project):
    project.set_property('distutils_classifiers', [
コード例 #43
0
# 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, Author, after

use_plugin('python.core')
use_plugin('python.install_dependencies')
use_plugin('python.coverage')
use_plugin('python.distutils')
use_plugin('python.unittest')
use_plugin('python.flake8')
use_plugin('python.frosted')
use_plugin('python.pydev')

use_plugin('filter_resources')
use_plugin('copy_resources')

name = 'fysom'
url = 'https://github.com/mriehl/fysom'
license = 'MIT'
authors = [
コード例 #44
0
ファイル: distutils_plugin.py プロジェクト: relu91/pybuilder
                            init,
                            task,
                            RequirementsFile,
                            Dependency)
from pybuilder.errors import BuildFailedException, MissingPrerequisiteException
from pybuilder.utils import (as_list,
                             is_string,
                             is_notstr_iterable,
                             get_dist_version_string,
                             safe_log_file_name,
                             assert_can_execute,
                             tail_log)
# Plugin install_dependencies_plugin can reload pip_common and pip_utils. Do not use from ... import ...
from pybuilder import pip_utils

use_plugin("python.core")

LEADING_TAB_RE = re.compile(r'^(\t*)')
DATA_FILES_PROPERTY = "distutils_data_files"
SETUP_TEMPLATE = string.Template("""#!/usr/bin/env python
$remove_hardlink_capabilities_for_shared_filesystems
from $module import setup
from $module.command.install import install as _install

class install(_install):
    def pre_install_script(self):
$preinstall_script

    def post_install_script(self):
$postinstall_script
コード例 #45
0
ファイル: build.py プロジェクト: mriehl/workshop
from pybuilder.core import use_plugin, init

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.install_dependencies")

name = "weather"
default_task = "publish"


@init
def set_project_properties(project):
    project.depends_on('requests')
    project.depends_on('xmltodict')
コード例 #46
0
# -*- coding: utf-8 -*-
# This file is part of the hdnet package
# Copyright 2014 the authors, see file AUTHORS.
# Licensed under the GPLv3, see file LICENSE for details

# pybuilder script

from pybuilder.core import init, task, description, depends, use_plugin

# set pythonpath (for unittests)
import sys
import os
sys.path.insert(0, os.path.dirname(__file__))

# plugins
use_plugin("python.core")
use_plugin("python.pylint")
#use_plugin("python.flake8")
use_plugin("python.unittest")
#use_plugin("python.coverage")
use_plugin("python.distutils")
use_plugin("python.install_dependencies")
use_plugin("python.sphinx")
use_plugin("source_distribution")
use_plugin("copy_resources")
use_plugin("filter_resources")

# global config
name = "hdnet"
default_task = "release"
コード例 #47
0
ファイル: build.py プロジェクト: danielkza/fysom
#
# 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, Author, after


use_plugin('python.core')
use_plugin('python.install_dependencies')
use_plugin('python.coverage')
use_plugin('python.distutils')
use_plugin('python.unittest')
use_plugin('python.flake8')
use_plugin('python.frosted')
use_plugin('python.pydev')

use_plugin('filter_resources')
use_plugin('copy_resources')

name = 'fysom'
url = 'https://github.com/mriehl/fysom'
license = 'MIT'
authors = [Author('Mansour Behabadi', '*****@*****.**'),
コード例 #48
0
ファイル: build.py プロジェクト: esc/backuptool
from pybuilder.core import use_plugin, init, task, depends, 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 = 'backuptool'
summary = 'Create simple backups and store them on Filesystem, FTP or S3'
description = """Create backups of different source types
(file, mysql, ldap), optionally encrypt it with pgp and store the
result on s3, ftp or on the local filesystem"""
license = 'Apache License 2.0'
authors = [Author('Stefan Neben', "*****@*****.**")]
url = 'https://github.com/sneben/backuptool'
version = '0.1'
default_task = ['clean', 'analyze', 'package']


@init
def set_properties(project):
    project.build_depends_on('mock')
    project.build_depends_on('moto')
    project.build_depends_on('unittest2')
    project.build_depends_on('gnupg')
    project.build_depends_on('yamlreader')
    project.build_depends_on('boto')

コード例 #49
0
ファイル: build.py プロジェクト: proofy/naptr2ip
#   -*- coding: utf-8 -*-
from pybuilder.core import use_plugin, init

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.flake8")
#use_plugin("python.coverage")
use_plugin("python.distutils")
use_plugin("python.pydev")

name = "dns_naptr_query"
default_task = "publish"


@init
def initialize(project):
    project.build_depends_on("dnspython")
    project.name = "naptr2ip"
    project.version = "0.1.20200709"
    project.set_property('logging_steam', 'sys.stderr')
    project.set_property('logging_level', 'DEBUG')
    pass
コード例 #50
0
#   limitations under the License.

import sys
from os.path import dirname, join as jp, normcase as nc

# This is only necessary in PyBuilder sources for bootstrap
build_sources = nc(jp(dirname(__file__), "src/main/python"))
if build_sources not in sys.path:
    sys.path.insert(0, build_sources)

from pybuilder import bootstrap
from pybuilder.core import Author, init, use_plugin

bootstrap()

use_plugin("python.core")
use_plugin("python.pytddmon")
use_plugin("python.distutils")
use_plugin("python.install_dependencies")

use_plugin("copy_resources")
use_plugin("filter_resources")
use_plugin("source_distribution")

use_plugin("python.unittest")

if sys.platform != "win32":
    use_plugin("python.cram")

use_plugin("python.integrationtest")
use_plugin("python.coverage")
コード例 #51
0
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

from pybuilder.core import use_plugin, init, Author, task
import os

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.install_dependencies")
use_plugin("python.coverage")
use_plugin("python.distutils")
use_plugin("exec")
use_plugin('python.pycharm')
# use_plugin("python.stdeb")
use_plugin("python.sphinx")
use_plugin("python.pdoc")

name = "configAWSEnv"
summary = "A utility to stop and start AWS environments"
description = """This utility stops and starts AWS environments (group of instances according to tags) from an external scheduler"""

authors = [Author("Ittiel", "*****@*****.**")]
コード例 #52
0
ファイル: build.py プロジェクト: FeliKoenig/pet-project
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 = "mypybuilder"
default_task = "publish"


@init
def set_properties(project):
    project.set_property("coverage_break_build", False)  # default is True
    project.build_depends_on("mock")
コード例 #53
0
ファイル: build.py プロジェクト: sdomme/afp-cli
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")
use_plugin('copy_resources')
use_plugin("filter_resources")

name = 'afp-cli'
summary = 'Command line client for AWS federation proxy api'
authors = [Author('Stefan Neben', "*****@*****.**"),
           Author('Tobias Vollmer', "*****@*****.**"),
           Author('Stefan Nordhausen', "*****@*****.**"),
           Author('Enrico Heine', "*****@*****.**"),
           ]
url = 'https://github.com/ImmobilienScout24/afp-cli'
version = '1.1.0'
description = open("README.rst").read()
license = 'Apache License 2.0'

default_task = ["clean", "analyze", "publish"]


@init
def set_properties(project):
    project.build_depends_on("unittest2")
    project.build_depends_on("mock")
    project.build_depends_on("six")
コード例 #54
0
    from StringIO import StringIO
except ImportError as e:
    from io import StringIO

import sys
import unittest

from pybuilder.core import init, task, description, use_plugin
from pybuilder.errors import BuildFailedException
from pybuilder.utils import discover_modules_matching, render_report, fork_process
from pybuilder.ci_server_interaction import test_proxy_for
from pybuilder.terminal import print_text_line
from types import MethodType, FunctionType
from functools import reduce

use_plugin("python.core")


@init
def init_test_source_directory(project):
    if sys.version_info[:2] <= (2, 6):
        # Support for Python 2.6 was dropped in unittest-xml-reporting
        # version 2.0, so use an older version.
        project.plugin_depends_on("unittest-xml-reporting<2.0")
    else:
        project.plugin_depends_on("unittest-xml-reporting")

    project.set_property_if_unset("dir_source_unittest_python", "src/unittest/python")
    project.set_property_if_unset("unittest_module_glob", "*_tests")
    project.set_property_if_unset("unittest_file_suffix", None)  # deprecated, use unittest_module_glob.
    project.set_property_if_unset("unittest_test_method_prefix", None)
コード例 #55
0
ファイル: build.py プロジェクト: andante-project/hostexpand
#   This program is free software: you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation, either version 3 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program.  If not, see <http://www.gnu.org/licenses/>.

from pybuilder.core import use_plugin, init, Author

use_plugin('python.core')
use_plugin('python.unittest')
use_plugin('python.integrationtest')
use_plugin('python.coverage')
use_plugin('python.distutils')
use_plugin('python.pydev')
use_plugin('python.flake8')
use_plugin('python.install_dependencies')

use_plugin('ronn_manpage')
use_plugin('copy_resources')
use_plugin('filter_resources')

default_task = ['generate_manpages', 'analyze', 'publish']

version = '1.0.3'