class ProcessPythonEnvironmentManager implements PythonEnvironmentManager {

	@Override
	public String createRetrievalToken() throws IOException {
		File retrievalToken = new File(baseDirectory,
			"retrieval_token_" + UUID.randomUUID().toString() + ".json");
		if (retrievalToken.createNewFile()) {
			final DataOutputStream dos = new DataOutputStream(new FileOutputStream(retrievalToken));
			dos.writeBytes("{\"manifest\": {}}");
			dos.flush();
			dos.close();
			return retrievalToken.getAbsolutePath();
		} else {
			throw new IOException(
				"Could not create the RetrievalToken file: " + retrievalToken.getAbsolutePath());
		}
	}

	public  ProcessPythonEnvironmentManager(
		@NotNull PythonDependencyInfo dependencyInfo,
		@NotNull String[] tmpDirectories,
		@NotNull Map<String, String> systemEnv);

}