code: def setup_package():
      import warnings
  
      warnings.warn(
          "setup_package() and testing with nose are deprecated."
          "  Switch to using pytest instead.",
          DeprecationWarning,
      )
      from datalad.tests.utils import setup_package
  
      return setup_package()
  
file_path: datalad/datalad/__init__.py
imports: import atexit
  import os
  from .config import ConfigManager, warn_on_undefined_git_identity
  from datalad.utils import get_encoding_info, get_envvars_info, getpwd
  from .log import lgr
  from .support.sshconnector import SSHManager
  from ._version import get_versions
label_desc: Use image node_id 4 for calling a global function with example usage: setup_package() and returns: setup_package