class_docstr: This class exists to allow virtual environment creation to be
  customized. The constructor parameters determine the builder's
  behaviour when called upon to create a virtual environment.
  
  By default, the builder makes the system (global) site-packages dir
  *un*available to the created environment.
  
  If invoked using the Python -m option, the default is to use copying
  on Windows platforms but symlinks elsewhere. If instantiated some
  other way, the default is to *not* use symlinks.
  
  :param system_site_packages: If True, the system (global) site-packages
                               dir is available to created environments.
  :param clear: If True, delete the contents of the environment directory if
                it already exists, before environment creation.
  :param symlinks: If True, attempt to symlink rather than copy files into
                   virtual environment.
  :param upgrade: If True, upgrade an existing virtual environment.
  :param with_pip: If True, ensure pip is installed in the virtual
                   environment
  :param prompt: Alternative terminal prefix for the environment.
  :param upgrade_deps: Update the base venv modules to the latest on PyPI
  :param scm_ignore_files: Create ignore files for the SCMs specified by the
                           iterable.
docstr: Replace variable placeholders in script text with context-specific
  variables.
  
  Return the text passed in , but with variables replaced.
  
  :param text: The text in which to replace placeholder variables.
  :param context: The information for the environment creation request
                  being processed.
docstr_tok: ["Replace","variable","placeholders","in","script","text","with","context-specific","variables",".","Return","the","text","passed","in",",","but","with","variables","replaced",".",":","param","text",":","The","text","in","which","to","replace","placeholder","variables",".",":","param","context",":","The","information","for","the","environment","creation","request","being","processed","."]
code: def replace_variables(self, text, context):
      """
      Replace variable placeholders in script text with context-specific
      variables.
  
      Return the text passed in , but with variables replaced.
  
      :param text: The text in which to replace placeholder variables.
      :param context: The information for the environment creation request
                      being processed.
      """
      text = text.replace("__VENV_DIR__", context.env_dir)
      text = text.replace("__VENV_NAME__", context.env_name)
      text = text.replace("__VENV_PROMPT__", context.prompt)
      text = text.replace("__VENV_BIN_NAME__", context.bin_name)
      text = text.replace("__VENV_PYTHON__", context.env_exe)
      return text
  
imports: import logging
  import os
  import shutil
  import subprocess
  import sys
  import sysconfig
  import types
label_desc: Use image node_id 13 for calling the EnvBuilder obj's underlying member method code with example usage: obj.replace_variables(text, context) and returns: text