pygradle-plugin/src/main/groovy/com/linkedin/gradle/python/plugin/PythonPlugin.java
private static void configureVendedDependencies(Project project, PythonExtension settings) {
        project.getDependencies().add(CONFIGURATION_BOOTSTRAP_REQS.getValue(), settings.forcedVersions.get("virtualenv"));

        project.getDependencies().add(CONFIGURATION_SETUP_REQS.getValue(), settings.forcedVersions.get("setuptools"));
        project.getDependencies().add(CONFIGURATION_SETUP_REQS.getValue(), settings.forcedVersions.get("wheel"));
        project.getDependencies().add(CONFIGURATION_SETUP_REQS.getValue(), settings.forcedVersions.get("pip"));
        project.getDependencies().add(CONFIGURATION_SETUP_REQS.getValue(), settings.forcedVersions.get("setuptools-git"));

        project.getDependencies().add(CONFIGURATION_BUILD_REQS.getValue(), settings.forcedVersions.get("flake8"));

        project.getDependencies().add(CONFIGURATION_BUILD_REQS.getValue(), settings.forcedVersions.get("Sphinx"));

        project.getDependencies().add(CONFIGURATION_TEST.getValue(), settings.forcedVersions.get("pytest"));
        project.getDependencies().add(CONFIGURATION_TEST.getValue(), settings.forcedVersions.get("pytest-cov"));
        project.getDependencies().add(CONFIGURATION_TEST.getValue(), settings.forcedVersions.get("pytest-xdist"));
    }
/*
     * Add vended build and test dependencies to projects that apply this plugin.
     * Notice that virtualenv contains the latest versions of setuptools,
     * pip, and wheel, vended in. Make sure to use versions we can actually
     * use based on various restrictions. For example, pex may limit the
     * highest version of setuptools used. Provide the dependencies in the
     * best order they should be installed in setupRequires configuration.
     */
Add vended build and test dependencies to projects that apply this plugin.
Notice that virtualenv contains the latest versions of setuptools,
pip, and wheel, vended in. Make sure to use versions we can actually
use based on various restrictions. For example, pex may limit the
highest version of setuptools used. Provide the dependencies in the
best order they should be installed in setupRequires configuration.
Add vended build and test dependencies to projects that apply this plugin . Notice that virtualenv contains the latest versions of setuptools pip and wheel vended in . Make sure to use versions we can actually use based on various restrictions . For example pex may limit the highest version of setuptools used . Provide the dependencies in the best order they should be installed in setupRequires configuration .
private static void configureVendedDependencies(Project project, PythonExtension settings) {
        project.getDependencies().add(CONFIGURATION_BOOTSTRAP_REQS.getValue(), settings.forcedVersions.get("virtualenv"));
        project.getDependencies().add(CONFIGURATION_SETUP_REQS.getValue(), settings.forcedVersions.get("setuptools"));
        project.getDependencies().add(CONFIGURATION_SETUP_REQS.getValue(), settings.forcedVersions.get("wheel"));
        project.getDependencies().add(CONFIGURATION_SETUP_REQS.getValue(), settings.forcedVersions.get("pip"));
        project.getDependencies().add(CONFIGURATION_SETUP_REQS.getValue(), settings.forcedVersions.get("setuptools-git"));
        project.getDependencies().add(CONFIGURATION_BUILD_REQS.getValue(), settings.forcedVersions.get("flake8"));
        project.getDependencies().add(CONFIGURATION_BUILD_REQS.getValue(), settings.forcedVersions.get("Sphinx"));
        project.getDependencies().add(CONFIGURATION_TEST.getValue(), settings.forcedVersions.get("pytest"));
        project.getDependencies().add(CONFIGURATION_TEST.getValue(), settings.forcedVersions.get("pytest-cov"));
        project.getDependencies().add(CONFIGURATION_TEST.getValue(), settings.forcedVersions.get("pytest-xdist"));
    }
private static void configureVendedDependencies ( Project project , PythonExtension settings ) { project . getDependencies ( ) . add ( CONFIGURATION_BOOTSTRAP_REQS . getValue ( ) , settings . forcedVersions . get ( "virtualenv" ) ) ; project . getDependencies ( ) . add ( CONFIGURATION_SETUP_REQS . getValue ( ) , settings . forcedVersions . get ( "setuptools" ) ) ; project . getDependencies ( ) . add ( CONFIGURATION_SETUP_REQS . getValue ( ) , settings . forcedVersions . get ( "wheel" ) ) ; project . getDependencies ( ) . add ( CONFIGURATION_SETUP_REQS . getValue ( ) , settings . forcedVersions . get ( "pip" ) ) ; project . getDependencies ( ) . add ( CONFIGURATION_SETUP_REQS . getValue ( ) , settings . forcedVersions . get ( "setuptools-git" ) ) ; project . getDependencies ( ) . add ( CONFIGURATION_BUILD_REQS . getValue ( ) , settings . forcedVersions . get ( "flake8" ) ) ; project . getDependencies ( ) . add ( CONFIGURATION_BUILD_REQS . getValue ( ) , settings . forcedVersions . get ( "Sphinx" ) ) ; project . getDependencies ( ) . add ( CONFIGURATION_TEST . getValue ( ) , settings . forcedVersions . get ( "pytest" ) ) ; project . getDependencies ( ) . add ( CONFIGURATION_TEST . getValue ( ) , settings . forcedVersions . get ( "pytest-cov" ) ) ; project . getDependencies ( ) . add ( CONFIGURATION_TEST . getValue ( ) , settings . forcedVersions . get ( "pytest-xdist" ) ) ; }
Add vended build and test dependencies to projects that apply this plugin.
Add vended build and test dependencies to projects that apply this plugin .