private PythonPlatform CreatePlatform( IPythonVersionProvider pythonVersionProvider, PythonPlatformInstaller platformInstaller, BuildScriptGeneratorOptions commonOptions, PythonScriptGeneratorOptions pythonScriptGeneratorOptions) { return(new PythonPlatform( Options.Create(commonOptions), Options.Create(pythonScriptGeneratorOptions), pythonVersionProvider, NullLogger <PythonPlatform> .Instance, detector: null, platformInstaller)); }
private PythonPlatform CreatePlatform( IEnvironment environment, IPythonVersionProvider pythonVersionProvider, PythonPlatformInstaller platformInstaller, BuildScriptGeneratorOptions options) { var commonOptions = Options.Create(options); return(new PythonPlatform( commonOptions, pythonVersionProvider, environment, NullLogger <PythonPlatform> .Instance, detector: null, platformInstaller)); }