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, )
def deps(): """ Copy external dependencies. """ print('Installing dependencies to %s...' % (pave.path.build)) pave.pip( command='install', arguments=RUN_PACKAGES, )
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, )
def deps_build(): """ Install dependencies for build environment. """ print('Installing build dependencies to %s...' % (pave.path.build)) pave.pip( command='install', arguments=BUILD_PACKAGES, )
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, )
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, )
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, )
def deps(): """ Install all dependencies. """ print('Installing build dependencies to %s...' % (pave.path.build)) pave.pip( command='install', arguments=PACKAGES, silent=True, )
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, )
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, )
def deps(): pave.pip( command='install', arguments=DEPENDENCIES, )
def deps(): pave.pip(command="install", arguments=DEPENDENCIES)