コード例 #1
0
def create_project():
    project = Project("/")
    project.build_depends_on("testingframework")
    project.depends_on("sometool")
    project.depends_on(
        "pyassert",
        url=
        "https://github.com/downloads/halimath/pyassert/pyassert-0.2.2.tar.gz")
    project.name = "Spam and Eggs"
    project.version = "1.2.3"
    project.summary = "This is a simple integration-test for distutils plugin."
    project.description = "As you might have guessed we have nothing to say here."
    project.authors = [
        Author("Udo Juettner", "*****@*****.**"),
        Author("Michael Gruber", "*****@*****.**")
    ]
    project.license = "WTFPL"
    project.url = "http://github.com/pybuilder/pybuilder"
    project.explicit_namespaces = ["foo.bar", "quick.brown.fox"]

    def return_dummy_list():
        return ["spam", "eggs"]

    project.list_scripts = return_dummy_list
    project.list_packages = return_dummy_list
    project.list_modules = return_dummy_list

    project.set_property(
        "distutils_classifiers",
        ["Development Status :: 5 - Beta", "Environment :: Console"])
    project.install_file("dir", "file1")
    project.install_file("dir", "file2")
    project.include_file("spam", "eggs")

    return project
コード例 #2
0
ファイル: build.py プロジェクト: twhaley1/cs3280_project5
def set_properties(project):
    project.name = "cs3280_project5"
    project.version = "1.0"
    project.summary = "Project for CS3280 : Scans ports"
    project.description = ''' Takes an ip address and a port or a pair
                              of ports and determines whether there the 
                              port is listening or not. '''
    project.authors = [Author('Thomas Whaley', '*****@*****.**')]
コード例 #3
0
    def test_should_set_default_values_when_initializing_plugin(self):
        self.project.authors = [
            Author("John Doe", "*****@*****.**"),
            Author("Jane Doe", "*****@*****.**")
        ]
        initialize_sphinx_plugin(self.project)

        self.project.set_property("sphinx_project_name", "foo")
        self.project.set_property("sphinx_project_version", "1.0")

        self.assertEquals(self.project.get_property("sphinx_source_dir"),
                          "docs")
        self.assertEquals(self.project.get_property("sphinx_output_dir"),
                          "docs/_build/")
        self.assertEquals(self.project.get_property("sphinx_config_path"),
                          "docs")
        self.assertEquals(self.project.get_property("sphinx_doc_author"),
                          'John Doe, Jane Doe')
        self.assertEquals(self.project.get_property("sphinx_doc_builder"),
                          "html")
        self.assertEquals(self.project.get_property("sphinx_project_name"),
                          "foo")
        self.assertEquals(self.project.get_property("sphinx_project_version"),
                          "1.0")
コード例 #4
0
ファイル: build.py プロジェクト: bill-mahoney/test
from pybuilder.core import task
from pybuilder.pluginhelper.external_command import ExternalCommandBuilder
from pybuilder.utils import read_file
import json

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('filter_resources')

name = 'prunetags'
authors = [
    Author('Emilio Reyes', '*****@*****.**')
]
summary = 'A Python script that removes old pre-release tags from repos in a GitHub org'
url = 'https://github.com/edgexfoundry/cd-management/tree/prune-github-tags'
version = '0.0.2'
default_task = [
    'clean',
    'analyze',
    'cyclomatic_complexity',
    'package'
]


@init
def set_properties(project):
    project.set_property('unittest_module_glob', 'test_*.py')
コード例 #5
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

authors = [Author("Debasish Kanhar", "*****@*****.**")]
description = "Python client drivers for JanusGraph"
copyright = "Copyright 2018 JanusGraph Python Authors"
license = "Apache License v2.0"

name = "janusgraph_python"

tinkerpop_version = "3.3.3"
janusgraph_version = "0.3.0"
version = "0.3.0101"

use_plugin("python.core")
# the python unittest plugin allows running python's standard library unittests
use_plugin("python.unittest")
# this plugin allows installing project dependencies with pip
use_plugin("python.install_dependencies")
コード例 #6
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')

コード例 #7
0
from pybuilder.core import init, use_plugin, Author, Project, task

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

authors = [
    Author('Marvin Lukas Wenzel', '*****@*****.**', ["Backend Guru"])
]
name = 'raq-crawler'
version = "WIP"
license = 'Apache License, Version 2.0'
summary = 'Crawler for the R.A.Q. project.'
url = 'http://www.whatthecommit.com'


@init
def dependencies(project: Project):
    project.depends_on_requirements('requirements.txt')
    project.build_depends_on_requirements('requirements-dev.txt')


@init
def coverages(project: Project):
    project.set_property('coverage_break_build', False)
    project.set_property('coverage_threshold_warn', 70)
    project.set_property('coverage_branch_threshold_warn', 70)
    project.set_property('coverage_branch_partial_threshold_warn', 70)
コード例 #8
0
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', [
        'Development Status :: 3 - Alpha',
        'Environment :: Web Environment',
        'Framework :: Bottle',
        'Intended Audience :: Education',
        'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
コード例 #9
0
#   -*- coding: utf-8 -*-
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("python.pdoc")

name = "Library-Management-System"
version = "1.0"

authors = [Author("Hinakoushar Tatakoti", "*****@*****.**")]
license = "None"
default_task = "publish"


@init
def set_properties(project):
    project.set_property('pdoc_source', 'src/main/python')
    project.set_property('pdoc_output_dir', '/docs')
    project.set_property('pdoc_module_name', 'src.main.python')
    project.set_property('pdoc_command_args', ['--html'])

    project.set_property("coverage_break_build", False)  # default is True
コード例 #10
0
from pybuilder.core import use_plugin, init, Author, task
from pybuilder.pluginhelper.external_command import ExternalCommandBuilder
from pybuilder.utils import read_file
import json

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('filter_resources')

name = 'sqlserver'
authors = [Author('cmcode-dev', '*****@*****.**')]
summary = 'pyodbc sqlserver python helper classes'
url = 'https://gitea.cmcode.dev/cmcode/archive-pyodbc-sqlserver'
version = '0.0.2'
default_task = ['clean', 'analyze', 'cyclomatic_complexity', 'package']


@init
def set_properties(project):
    project.set_property('unittest_module_glob', 'test_*.py')

    project.set_property('coverage_break_build', False)

    project.set_property('flake8_max_line_length', 120)
    project.set_property('flake8_verbose_output', True)
    project.set_property('flake8_break_build', True)
    project.set_property('flake8_include_scripts', True)
コード例 #11
0
ファイル: build.py プロジェクト: tahir24434/py-ds-algo
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.distutils")

name = "pdsa"
url = 'https://github.com/tahir24434/py-ds-algo'
information = "Please visit {url}".format(url=url)
authors = [Author('Tahir Rauf', '*****@*****.**')]
license = 'Apache 2.0'
summary = "Python data structure library for coding interviews"
version = '0.1.0'
default_task = "publish"


@init
def set_properties(project):
    project.set_property('flake8_break_build', True)
    project.set_property('flake8_include_scripts', True)
    project.set_property('flake8_include_test_sources', True)
    project.set_property('flake8_max_line_length', 120)
    project.set_property('flake8_verbose_output', True)
    project.set_property('distutils_classifiers', [
        'Development Status:: 5 - Production',
        'Intended Audience :: Developers'
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.6.0',
コード例 #12
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")
コード例 #13
0
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','*****@*****.**')]

description = """YADT - an Augmented Deployment Tool - The Minion Part
- yadt-status: collects all relevant information for a single host

for more documentation, visit http://www.yadt-project.org/
"""

name = 'yadt-minion'
license = 'GNU GPL v3'
summary = 'YADT - an Augmented Deployment Tool - The Minion Part'
url = 'https://github.com/yadt/yadt-minion'
version = '0.5'
コード例 #14
0
ファイル: build.py プロジェクト: mingfang/yamlreader
from __future__ import print_function, absolute_import, unicode_literals, division
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 = "yamlreader"
summary = 'Merge YAML data from given files, dir or file glob'
authors = [Author('Schlomo Schapiro', "*****@*****.**")]
url = 'https://github.com/ImmobilienScout24/yamlreader'
version = '3.0.4'
description = open("README.rst").read()
license = 'Apache License 2.0'

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


@init
def set_properties(project):
    project.depends_on("ruamel.yaml")
    project.depends_on("six")

    project.set_property('distutils_console_scripts',
                         ['yamlreader=yamlreader.yamlreader:__main'])

    project.set_property("distutils_classifiers", [
        "Programming Language :: Python",
コード例 #15
0
ファイル: build.py プロジェクト: sonalibhosale/pybuilder
use_plugin("python.pycharm")
use_plugin("python.pytddmon")

use_bldsup()
use_plugin("pdoc")

name = "PyBuilder"
summary = "An extensible, easy to use continuous build tool for Python"
description = """PyBuilder is a build automation tool for python.

PyBuilder is a software build tool written in pure Python which mainly targets Python applications.
It is based on the concept of dependency based programming but also comes along with powerful plugin mechanism that
allows the construction of build life cycles similar to those known from other famous build tools like Apache Maven.
"""

authors = [Author("Alexander Metzner", "*****@*****.**"),
           Author("Maximilien Riehl", "*****@*****.**"),
           Author("Michael Gruber", "*****@*****.**"),
           Author("Udo Juettner", "*****@*****.**"),
           Author("Marcel Wolf", "*****@*****.**")]
url = "http://pybuilder.github.io"
license = "Apache License"
version = "0.10.59"

default_task = ["analyze", "publish"]


@init
def initialize(project):
    project.build_depends_on("fluentmock")
    project.build_depends_on("mock")
コード例 #16
0
ファイル: build.py プロジェクト: vvalorous/aws-monocyte
use_plugin('copy_resources')
use_plugin('python.pytddmon')
use_plugin('python.integrationtest')

default_task = ['analyze', 'publish']

name = 'aws-monocyte'
version = '0.3'
summary = 'Monocyte - Search and Destroy unwanted AWS Resources relentlessly.'
description = """
    Monocyte is a bot for destroying AWS resources in non-EU regions written in Python using Boto.
    It is especially useful for companies that are bound to European privacy laws
    and for that reason don't want to process user data in non-EU regions.
    """
authors = [
    Author('Jan Brennenstuhl', '*****@*****.**'),
    Author('Arne Hilmann', '*****@*****.**')
]
url = 'https://github.com/ImmobilienScout24/aws-monocyte'
license = 'Apache License 2.0'


@init
def set_properties(project):
    project.set_property("verbose", True)

    project.depends_on("docopt")
    project.depends_on("boto")
    project.depends_on("boto3")
    project.depends_on("python-cloudwatchlogs-logging")
    project.depends_on("yamlreader")
コード例 #17
0
from pybuilder.core import use_plugin, init, Project, Author

use_plugin("pypi:karellen_pyb_plugin", ">=0.0.1.dev")
use_plugin("copy_resources")
use_plugin("filter_resources")

name = "karellen-geventws"
version = "1.0.3.dev"

url = "https://github.com/karellen/karellen-geventws"
description = "Please visit %s for more information!" % url
summary = "Karellen Testing Library"

authors = [
    Author("Jeffrey Gelens", "*****@*****.**"),
    Author("Karellen, Inc", "*****@*****.**")
]
license = "Apache License, Version 2.0"

default_task = [
    "install_dependencies", "analyze", "sphinx_generate_documentation",
    "publish"
]

requires_python = ">=3.3,<3.7"


@init
def set_properties(project: Project):
    # Dependencies
コード例 #18
0
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 = 'all-branches-cloner'
license = 'GNU GPL v3'
version = '1.1'
version = '%s-%s' % (version,
                     os.environ.get('BUILD_NUMBER', 0))
summary = 'Clones all open branches from a bitbucket server'
default_task = ['install_dependencies', 'clean', 'analyze', 'package']
authors = [Author('Tobias Vollmer', '*****@*****.**')]


@task
@depends('analyze', 'package')
@description('Creates a debian package')
def create_deb(project, logger):
    command = [
        '/usr/local/bin/fpm',
        '-a', 'all',                                                     # Architecture
        '-s', 'python',                                                  # Source Type
        '-t', 'deb',                                                     # Package Type
        '-p', 'target/dist',                                             # Output directory
        '--python-install-bin', '/usr/bin',                              # Script install dir
        '--python-scripts-executable', '/usr/bin/python',                # Script install dir
        '--python-install-lib', '/usr/lib/python2.7/dist-packages',      # Module install dir
コード例 #19
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"))
コード例 #20
0
ファイル: build.py プロジェクト: andante-project/yadtcommons
#   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.install_dependencies')

use_plugin('filter_resources')

use_plugin('python.coverage')
use_plugin('python.distutils')
use_plugin('python.unittest')
use_plugin('python.distutils')
use_plugin('python.flake8')

authors = [
    Author('Marcel Wolf', '*****@*****.**'),
    Author('Maximilien Riehl', '*****@*****.**'),
    Author('Michael Gruber', '*****@*****.**')
]
license = 'GNU GPL v3'
name = 'yadtcommons'
summary = 'commons libary for YADT'
url = 'https://github.com/yadt/yadtcommons'
version = '0.0.7'

default_task = ['analyze', 'publish']


@init
def set_properties(project):
    project.build_depends_on('mockito')
コード例 #21
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', [
コード例 #22
0
def initialize(project):
	project.version = "1.0"
	project.summary = "Fall 2018 Systems Programming Project 4"
	project.authors = [Author("Dylan Knox", "*****@*****.**")]
コード例 #23
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')
コード例 #24
0
ファイル: build.py プロジェクト: moutainhigh/xdcs
from pybuilder.plugins.python.flake8_plugin import analyze

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.install_dependencies")
use_plugin("python.distutils")
use_plugin("python.pycharm")
use_plugin("python.flake8")
use_plugin("exec")

name = "xdcs-agent"
version = "0.1.0.dev"
default_task = "publish"
long_description = "XDCS Distributed Computing Software"
authors = [
    Author('Kamil Jarosz', '*****@*****.**'),
    Author('Krystian Zycinski', '*****@*****.**'),
    Author('Adam Szczerba', '*****@*****.**'),
    Author('Jan Rodzon', '*****@*****.**')
]
url = 'https://github.com/xdcs-team/xdcs'


@init
def check_version():
    if sys.version_info[0] < 3:
        raise Exception("Only python 3 is supported")


@init
def initialize(project):
コード例 #25
0
#

from pybuilder.core import use_plugin, init, Author

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

name = "pypi-cleanup"
version = "0.0.3"
summary = "PyPI Bulk Release Version Cleanup Utility"

authors = [Author("Arcadiy Ivanov", "*****@*****.**")]
maintainers = [Author("Arcadiy Ivanov", "*****@*****.**")]
license = "Apache License, Version 2.0"

url = "https://github.com/arcivanov/pypi-cleanup"
urls = {
    "Bug Tracker": "https://github.com/arcivanov/pypi-cleanup/issues",
    "Source Code": "https://github.com/arcivanov/pypi-cleanup",
    "Documentation": "https://github.com/arcivanov/pypi-cleanup"
}

requires_python = ">=3.6"

default_task = ["analyze", "publish"]

コード例 #26
0
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', '*****@*****.**'),
    Author('Jake Gordon', '*****@*****.**'),
    Author('Maximilien Riehl', '*****@*****.**'),
    Author('Stefano', email='*****@*****.**')
]
summary = 'pYthOn Finite State Machine'
version = '2.1.5'

default_task = ['analyze', 'publish']


@init
def set_properties(project):
    project.get_property('filter_resources_glob').append(
        '**/fysom/__init__.py')
コード例 #27
0
ファイル: build.py プロジェクト: karellen/ctinker
# 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"

requires_python = ">=3.6"

default_task = ["analyze", "publish"]


@init
コード例 #28
0
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", "*****@*****.**")]
url = "https://github.com/taykey/schedule-aws-env"
license = "Apache License"
packages = ["configAWSEnv"]

# Dependencies
RUNTIME_DEPENDENCIES = ['boto3==1.4.7', 'argparse==1.4.0']

BUILD_DEPENDENCIES = ['mockito==1.0.12']


@init
def set_properties(project, logger):

    project.version = "0.0.11"
コード例 #29
0
    use_plugin("python.pdoc")

use_plugin("python.vendorize")

name = "pybuilder"
summary = "PyBuilder — an easy-to-use build automation tool for Python."
description = """PyBuilder — an easy-to-use build automation tool for Python.

PyBuilder is a software build automation tool written in pure Python mainly targeting Python ecosystem. 
It is based on the concept of dependency-based programming but also comes along with powerful plugin mechanism that 
allows the construction of build life-cycles similar to those known from other famous build tools like 
Apache Maven and Gradle.
"""

authors = [
    Author("Arcadiy Ivanov", "*****@*****.**"),
    Author("Alexander Metzner", "*****@*****.**"),
    Author("Maximilien Riehl", "*****@*****.**"),
    Author("Michael Gruber", "*****@*****.**"),
    Author("Udo Juettner", "*****@*****.**"),
    Author("Marcel Wolf", "*****@*****.**"),
    Author("Valentin Haenel", "*****@*****.**"),
]

maintainers = [Author("Arcadiy Ivanov", "*****@*****.**")]

url = "https://pybuilder.io"
urls = {
    "Bug Tracker": "https://github.com/pybuilder/pybuilder/issues",
    "Source Code": "https://github.com/pybuilder/pybuilder",
    "Documentation": "https://pybuilder.io/documentation"
コード例 #30
0
#   Copyright 2020 Diego Barrantes
#
#   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 Author, use_plugin

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

name = 'pybuilder-pycharm-workspace'
version = '0.1.3'
license = "Apache License, Version 2.0"

authors = [Author("Diego BM", '*****@*****.**')]
url = 'https://github.com/yeuk0/pybuilder-pycharm-workspace'
description = "External plugin for PyBuilder integration with PyCharm"
long_description = f"Visit {url} for more information"
summary = "PyBuilder PyCharm Workspaces Plugin"

default_task = ['clean', 'publish']