docs: def symlink(source, link_name):
      """
      Method to allow creating symlinks on Windows
      """
      if os.path.islink(link_name) and os.readlink(link_name) == source:
          return
  
      os_symlink = getattr(os, "symlink", None)
      if callable(os_symlink):
          os_symlink(source, link_name)
      else:
          import ctypes
          csl = ctypes.windll.kernel32.CreateSymbolicLinkW
          csl.argtypes = (ctypes.c_wchar_p, ctypes.c_wchar_p, ctypes.c_uint32)
          csl.restype = ctypes.c_ubyte
          flags = 1 if os.path.isdir(source) else 0
          if csl(link_name, source, flags) == 0:
              raise ctypes.WinError()