Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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", "udo.juettner@gmail.com"), Author("Michael Gruber", "aelgru@gmail.com")]
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")
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.integrationtest")
name = "succubus"
summary = "Lightweight Python module for daemonizing"
default_task = "publish"
version = '1.0'
authors = [Author('Stefan Neben', "stefan.neben@immobilienscout24.de"),
Author('Stefan Nordhausen', "stefan.nordhausen@immobilienscout24.de"),
]
url = 'https://github.com/ImmobilienScout24/succubus'
description = open("README.rst").read()
license = 'Apache License 2.0'
@init
def set_properties(project):
pass
@init
def set_properties(project):
project.set_property('integrationtest_inherit_environment', True)
project.set_property('install_dependencies_upgrade', True)
project.build_depends_on("unittest2")
project.build_depends_on("mock")
use_plugin('python.core')
use_plugin('python.integrationtest')
use_plugin('python.install_dependencies')
use_plugin('python.unittest')
use_plugin('python.coverage')
use_plugin('python.flake8')
use_plugin('python.frosted')
use_plugin('python.sonarqube')
use_plugin('python.distutils')
use_plugin('copy_resources')
use_plugin('filter_resources')
authors = [Author('Arne Hilmann', 'arne.hilmann@gmail.com'),
Author('Marcel Wolf', 'marcel.wolf@me.com'),
Author('Maximilien Riehl', 'max@riehl.io')]
description = """YADT - an Augmented Deployment Tool - The Shell Part
- regards the dependencies between services, over different hosts
- updates artefacts in a safe manner
- issues multiple commands in parallel on several hosts
for more documentation, visit http://www.yadt-project.org/
"""
name = 'yadtshell'
license = 'GNU GPL v3'
summary = 'YADT - an Augmented Deployment Tool - The Shell Part'
url = 'https://github.com/yadt/yadtshell'
version = '1.9.3'
use_plugin("python.core")
use_plugin("python.install_dependencies")
use_plugin("pypi:pybuilder_nose")
# use_plugin("python.unittest")
# use_plugin("python.integrationtest")
use_plugin("python.frosted")
use_plugin("python.flake8")
use_plugin("python.pychecker")
use_plugin("python.pytddmon")
use_plugin("python.distutils")
use_plugin("python.sphinx")
name = 'The Reliability ToolKit (RTK)'
version = '2016.1'
authors = [Author('Andrew "weibullguy" Rowland',
'andrew.rowland@reliaqual.com')]
url = 'http://www.reliaqual.com/rtk'
description = 'RTK is a suite of tools for performing and documenting RAMS \
analyses.'
license = 'Proprietary'
summary = 'RAMS analysis tool'
default_task = ['clean', 'analyze', 'sphinx_generate_documentation', 'publish']
@init
def set_properties(project):
project.set_property("dir_source_main_python", "rtk")
project.set_property("dir_source_main_scripts", "scripts")
project.set_property("flake8_max_line_length", 80)
use_plugin('python.coverage')
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', 'jan@brennenstuhl.me'),
Author('Arne Hilmann', 'arne.hilmann@gmail.com')]
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")
project.depends_on("pils")
project.depends_on("mock")
if sys.platform != "win32":
use_plugin("python.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", "alexander.metzner@gmail.com"),
Author("Maximilien Riehl", "max@riehl.io"),
Author("Michael Gruber", "aelgru@gmail.com"),
Author("Udo Juettner", "udo.juettner@gmail.com"),
Author("Marcel Wolf", "marcel.wolf@me.com"),
Author("Arcadiy Ivanov", "arcadiy@ivanov.biz"),
Author("Valentin Haenel", "valentin@haenel.co"),
]
url = "http://pybuilder.github.io"
license = "Apache License"
version = "0.11.17"
requires_python = ">=2.6,!=3.0,!=3.1,!=3.2,<3.7"
default_task = ["install_dependencies", "analyze", "publish"]
@init
def initialize(project):
from pybuilder.core import use_plugin, init, Author
import sys
print sys.path
use_plugin("python.core")
use_plugin("python.unittest")
use_plugin('python.install_dependencies')
use_plugin('python.distutils')
use_plugin('python.coverage')
use_plugin('copy_resources')
name = "monitoring-config-generator"
default_task = "publish"
authors = [Author('Schlomo Schapiro', ''),
Author('Sven Schindler', ''),
Author('Jan Gaedicke', ''),
Author('Valentin Haenel', ''),
Author('Marco Hoyer', ''),
]
license = "GPL"
description = "Get monitoring configuration in YAML format via HTTP and generate icinga host and check config"
summary = description
version = '5'
url = "https://github.com/ImmobilienScout24/monitoring-config-generator.git"
@init
def set_properties(project):
project.depends_on("docopt")
project.depends_on('PyYAML')
if sys.platform != "win32":
use_plugin("python.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", "alexander.metzner@gmail.com"),
Author("Maximilien Riehl", "max@riehl.io"),
Author("Michael Gruber", "aelgru@gmail.com"),
Author("Udo Juettner", "udo.juettner@gmail.com"),
Author("Marcel Wolf", "marcel.wolf@me.com"),
Author("Arcadiy Ivanov", "arcadiy@ivanov.biz"),
Author("Valentin Haenel", "valentin@haenel.co"),
]
url = "http://pybuilder.github.io"
license = "Apache License"
version = "0.11.17"
requires_python = ">=2.6,!=3.0,!=3.1,!=3.2,<3.7"
default_task = ["install_dependencies", "analyze", "publish"]
@init
def initialize(project):
if sys.version_info[0] == 2:
use_plugin("python.core")
use_plugin("copy_resources")
use_plugin("filter_resources")
use_plugin("python.unittest")
use_plugin("python.integrationtest")
use_plugin("python.install_dependencies")
use_plugin("python.flake8")
use_plugin("python.distutils")
use_plugin("python.pycharm")
use_plugin("exec")
name = "hydra"
url = 'https://github.com/lake-lerna/hydra'
information = "Please visit {url}".format(url=url)
authors = [Author('Sushil Singh', 'sushilks@gmail.com')]
license = 'Apache 2.0'
summary = "A scale test infra using mesos and marathon."
version = '0.1.0'
default_task = ["analyze", "publish"]
@init
def set_properties(project):
# project.build_depends_on('mockito')
project.build_depends_on('pyzmq')
project.build_depends_on('marathon')
project.build_depends_on('netifaces')
# project.build_depends_on('logging')
project.build_depends_on('docopt')
project.build_depends_on('psutil')
project.build_depends_on('pep8-naming')