public CookiecutterClient(CookiecutterPythonInterpreter interpreter, Redirector redirector) { _interpreter = interpreter; var localAppDataFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); _envFolderPath = Path.Combine(localAppDataFolderPath, "Microsoft", "CookiecutterTools", "env"); _envInterpreterPath = Path.Combine(_envFolderPath, "scripts", "python.exe"); _redirector = redirector; }
public CookiecutterClient(CookiecutterPythonInterpreter interpreter) { _interpreter = interpreter; var localAppDataFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); _envFolderPath = Path.Combine(localAppDataFolderPath, "Microsoft", "CookiecutterTools", "env"); _envInterpreterPath = Path.Combine(_envFolderPath, "scripts", "python.exe"); }
public CookiecutterClient(IServiceProvider provider, CookiecutterPythonInterpreter interpreter, Redirector redirector) { _provider = provider; _interpreter = interpreter; var localAppDataFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); _envFolderPath = Path.Combine(localAppDataFolderPath, "Microsoft", "CookiecutterTools", "env"); _envInterpreterPath = Path.Combine(_envFolderPath, "scripts", "python.exe"); _redirector = redirector; }
public CookiecutterClient(IServiceProvider provider, CookiecutterPythonInterpreter interpreter, Redirector redirector) { _provider = provider; _interpreter = interpreter; var localAppDataFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); _redirector = redirector; // This is where the env *should* be created, but not necessarily where it will live on disk. // See the GetRealPath function for more details _expectedEnvFolderPath = Path.Combine(localAppDataFolderPath, "Microsoft", "CookiecutterTools", "env"); }
public CookiecutterClient(CookiecutterPythonInterpreter interpreter) { _interpreter = interpreter; }