docstr: Create the libraries 
docstr_tok: ["Create","the","libraries"]
code: def setup_method(self):
      """Create the libraries"""
      # Create 2 sources and 2 libraries
      self._dir1 = mkdtemp()
      self._src1 = os.path.join(self._dir1, "foo.c")
      self._lib1 = os.path.join(self._dir1, "libfoo.so")
      self._dir2 = mkdtemp()
      self._src2 = os.path.join(self._dir2, "bar.c")
      self._lib2 = os.path.join(self._dir2, "libbar.so")
      # Update local site.cfg
      global simple_site, site_cfg
      site_cfg = simple_site.format(
          **{
              "dir1": self._dir1,
              "lib1": self._lib1,
              "dir2": self._dir2,
              "lib2": self._lib2,
              "pathsep": os.pathsep,
              "lib2_escaped": _shell_utils.NativeParser.join(
                  [self._lib2]
              ),
          }
      )
      # Write site.cfg
      fd, self._sitecfg = mkstemp()
      os.close(fd)
      with open(self._sitecfg, "w") as fd:
          fd.write(site_cfg)
      # Write the sources
      with open(self._src1, "w") as fd:
          fd.write(fakelib_c_text)
      with open(self._src2, "w") as fd:
          fd.write(fakelib_c_text)
      # We create all class-instances
  
      def site_and_parse(c, site_cfg):
          c.files = [site_cfg]
          c.parse_config_files()
          return c
  
      self.c_default = site_and_parse(
          get_class("default"), self._sitecfg
      )
      self.c_temp1 = site_and_parse(get_class("temp1"), self._sitecfg)
      self.c_temp2 = site_and_parse(get_class("temp2"), self._sitecfg)
      self.c_dup_options = site_and_parse(
          get_class("duplicate_options"), self._sitecfg
      )
  
imports: import os
  import shutil
  import pytest
  from tempfile import mkstemp, mkdtemp
  from subprocess import Popen, PIPE
  import importlib.metadata
  from distutils.errors import DistutilsError
  from numpy.testing import assert_, assert_equal, assert_raises
  from numpy.distutils import ccompiler, customized_ccompiler
  from numpy.distutils.system_info import system_info, ConfigParser, mkl_info
  from numpy.distutils.system_info import AliasedOptionError
  from numpy.distutils.system_info import default_lib_dirs, default_include_dirs
  from numpy.distutils import _shell_utils
label_desc: Use image node_id 1 for calling the TestSystemInfoReading obj's underlying member method code with example usage: obj.setup_method() and returns: c