docstr: Processes environment variables that serve as replacements for the
  command line options. This is typically useful in CI environments where
  it is easier to set up a few environment variables permanently than to
  pass the same options to ``setup.py build`` and ``setup.py install``
  at the same time.
docstr_tok: ["Processes","environment","variables","that","serve","as","replacements","for","the","command","line","options",".","This","is","typically","useful","in","CI","environments","where","it","is","easier","to","set","up","a","few","environment","variables","permanently","than","to","pass","the","same","options","to","``","setup.py","build","``","and","``","setup.py","install","``","at","the","same","time","."]
code: def process_environment_variables(self):
      """Processes environment variables that serve as replacements for the
      command line options. This is typically useful in CI environments where
      it is easier to set up a few environment variables permanently than to
      pass the same options to ``setup.py build`` and ``setup.py install``
      at the same time.
      """
  
      def process_envvar(name, attr, value):
          name = "IGRAPH_" + name.upper()
          if name in os.environ:
              value = str(os.environ[name]).lower()
              if value in ("on", "true", "yes"):
                  value = True
              elif value in ("off", "false", "no"):
                  value = False
              else:
                  try:
                      value = bool(int(value))
                  except Exception:
                      return
  
              setattr(self, attr, value)
  
      process_envvar("static", "static_extension", True)
      process_envvar("no_pkg_config", "use_pkgconfig", False)
      process_envvar("no_wait", "wait", False)
      process_envvar("use_pkg_config", "use_pkgconfig", True)
      process_envvar("use_sanitizers", "use_sanitizers", False)
  
imports: import os
  import platform
  import sys
  from setuptools import find_packages, setup, Command, Extension
  import glob
  import shlex
  import shutil
  import subprocess
  import sysconfig
  from contextlib import contextmanager
  from pathlib import Path
  from select import select
  from shutil import which
  from time import sleep
  from typing import List, Iterable, Iterator, Optional, Tuple, TypeVar, Union
label_desc: Use image node_id 11 for calling the BuildConfiguration obj's underlying member method code with example usage: obj.process_environment_variables() without return types