Example #1
0
def deps():
    """
    Install all dependencies.
    """
    print('Installing dependencies to %s...' % (pave.path.build,))
    packages = RUN_PACKAGES + TEST_PACKAGES

    env_ci = os.environ.get('CI', '').strip()
    if env_ci.lower() != 'true':
        packages += BUILD_PACKAGES + LINT_PACKAGES
    else:
        builder = os.environ.get('BUILDER_NAME', '')
        if 'os-independent' in builder or '-py3' in builder:
            packages += LINT_PACKAGES
            print('Installing only lint and test dependencies.')
        elif '-gk-' in builder:
            packages += BUILD_PACKAGES + LINT_PACKAGES
            print('Installing only build, lint and test dependencies.')
        else:
            print('Installing only test dependencies.')

    pave.pip(
        command='install',
        arguments=packages,
        )
Example #2
0
def deps():
    """
    Copy external dependencies.
    """
    print('Installing dependencies to %s...' % (pave.path.build))
    pave.pip(
        command='install',
        arguments=RUN_PACKAGES,
        )
Example #3
0
def deps():
    """
    Copy external dependencies.
    """
    print('Installing dependencies to %s...' % (pave.path.build))
    pave.pip(
        command='install',
        arguments=RUN_PACKAGES,
    )
Example #4
0
def deps_build():
    """
    Get dependencies for building the project.
    """
    print('Installing build dependencies to %s.' % (pave.path.build))
    pave.pip(
        command='install',
        arguments=BUILD_PACKAGES,
        )
Example #5
0
def deps_build():
    """
    Install dependencies for build environment.
    """
    print('Installing build dependencies to %s...' % (pave.path.build))
    pave.pip(
        command='install',
        arguments=BUILD_PACKAGES,
        )
Example #6
0
def deps():
    """
    Install all dependencies.
    """
    print('Installing  dependencies to %s...' % (pave.path.build))
    pave.pip(
        command='install',
        arguments=RUN_PACKAGES + TEST_PACKAGES + BUILD_PACKAGES,
        silent=False,
        )
Example #7
0
def publish(args):
    """
    Placeholder to test the whole publish process.
    """
    print("Publishing: %s" % (args,))
    # We remove all the packages as this is what is usually done in publish.
    pave.pip(
        command='uninstall',
        arguments=['--yes'] + BUILD_PACKAGES + TEST_PACKAGES + LINT_PACKAGES,
        )
Example #8
0
def deps_testing():
    """
    Install dependencies for testing.
    """
    print('Installing testing dependencies to %s...' % (pave.path.build))
    pave.pip(
        command='install',
        arguments=RUN_PACKAGES + TEST_PACKAGES,
        silent=True,
        )
Example #9
0
def deps():
    """
    Install all dependencies.
    """
    print('Installing build dependencies to %s...' % (pave.path.build))
    pave.pip(
        command='install',
        arguments=PACKAGES,
        silent=True,
        )
Example #10
0
def deps():
    """
    Install all dependencies.
    """
    print('Installing build dependencies to %s...' % (pave.path.build))
    pave.pip(
        command='install',
        arguments=PACKAGES,
        silent=True,
    )
Example #11
0
def deps_testing():
    """
    Get dependencies for running the tests.
    """
    print('Installing testing dependencies to %s.' % (pave.path.build))
    pave.pip(
        command='install',
        arguments=RUN_PACKAGES,
        )
    pave.pip(
        command='install',
        arguments=TEST_PACKAGES,
        )
Example #12
0
def deps_testing():
    """
    Install dependencies for testing environment.
    """
    print('Installing dependencies to %s...' % (pave.path.build))
    pave.pip(
        command='install',
        arguments=RUN_PACKAGES,
        )
    pave.pip(
        command='install',
        arguments=TEST_PACKAGES,
        )
Example #13
0
def deps():
    pave.pip(
        command='install',
        arguments=DEPENDENCIES,
        )
Example #14
0
def deps():
    pave.pip(command="install", arguments=DEPENDENCIES)