Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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.set_property('verbose', True)
use_plugin("exec")
use_plugin("python.core")
use_plugin("python.unittest")
use_plugin('python.install_dependencies')
use_plugin('python.integrationtest')
default_task = ['clean']
#!/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', 'valentin@haenel.co')]
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")
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.pylint")
use_plugin("python.coverage")
use_plugin("python.distutils")
use_plugin("copy_resources")
use_plugin("filter_resources")
name = 'afp-core'
summary = 'API and backend for temporary authentication to aws services'
description = """API and backend for temporary authentication to aws services.
Based on different providers the included backend uses the assumeRole call
to retrieve temporary credentials. This could be used for human and/or
machine authentication to services from aws.
"""
license = 'GNU GPL v3'
import sys
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('copy_resources')
use_plugin("filter_resources")
use_plugin('python.cram')
name = 'afp-cli'
summary = 'Command line client for AWS federation proxy api'
authors = [Author('Stefan Neben', "stefan.neben@immobilienscout24.de"),
Author('Tobias Vollmer', "tobias.vollmer@immobilienscout24.de"),
Author(
'Stefan Nordhausen', "stefan.nordhausen@immobilienscout24.de"),
Author('Enrico Heine', "enrico.heine@immobilienscout24.de"),
Author('Valentin Haenel', "valentin.haenel@immobilienscout24.de"),
# 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.unittest")
use_plugin("python.coverage")
use_plugin("python.distutils")
default_task = "publish"
#!/usr/bin/env python
from pybuilder.core import use_plugin, init, Author
use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.integrationtest")
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 = "cfn-sphere"
authors = [Author('Marco Hoyer', 'marco_hoyer@gmx.de')]
description = "cfn-sphere - A CLI tool intended to simplify AWS CloudFormation handling."
license = 'APACHE LICENSE, VERSION 2.0'
summary = 'cfn-sphere AWS CloudFormation management cli'
url = 'https://github.com/cfn-sphere/cfn-sphere'
version = '1.0.6'
default_task = ['clean', 'analyze', 'package']
# 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", "WFAAS-LLFT@centurylink.com")]
url = 'http://www.centurylinkcloud.com'
license = "CTL Corporate License"
keywords = "centurylink cloud clc ansible modules"
# targets are:
# clean compile_sources init package prepare
# publish run_integration_tests run_unit_tests verify
default_task="publish"
#!/usr/bin/env python
"""Build script for MaTiSSe.py"""
import os
from pybuilder.core import Author, init, task, use_plugin
from shutil import copyfile
import re
use_plugin('python.core')
use_plugin('python.coverage')
use_plugin('python.flake8')
use_plugin('python.frosted')
use_plugin('python.install_dependencies')
use_plugin('python.pylint')
use_plugin('python.unittest')
__source__ = open('src/main/python/matisse/matisse.py').read()
authors = [Author(re.search(r'^__author__\s*=\s*"(.*)"', __source__, re.M).group(1),
re.search(r'^__author_email__\s*=\s*"(.*)"', __source__, re.M).group(1))]
version = re.search(r'^__version__\s*=\s*"(.*)"', __source__, re.M).group(1)
license = re.search(r'^__license__\s*=\s*"(.*)"', __source__, re.M).group(1)
description = re.search(r'^__description__\s*=\s*"(.*)"', __source__, re.M).group(1)
url = re.search(r'^__url__\s*=\s*"(.*)"', __source__, re.M).group(1)
@init
def initialize(project):
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")
use_plugin("python.flake8")
use_plugin('filter_resources')
if not sys.version_info[0] == 3:
use_plugin("python.snakefood")
use_plugin("python.pydev")
use_plugin("python.pycharm")
use_plugin("python.pytddmon")
use_plugin("python.sphinx")
if sys.platform != "win32":
use_plugin("python.pdoc")
name = "pybuilder"
summary = "An extensible, easy to use continuous build tool for Python"
#
# 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"