parameters: ()
return_statement: return hoomd_include_path.resolve()
docstring: Get the base directory for the HOOMD source include path.
docstring_summary: Get the base directory for the HOOMD source include path.
docstring_tokens: Get the base directory for the HOOMD source include path .
function: def _get_hoomd_include_path():
      """Get the base directory for the HOOMD source include path."""
      current_module_path = pathlib.Path(hoomd.__file__).parent.resolve()
      build_module_path = (pathlib.Path(hoomd.version.build_dir)
                           / 'hoomd').resolve()
  
      # use the source directory if this module is in the build directory
      if current_module_path == build_module_path:
          hoomd_include_path = pathlib.Path(hoomd.version.source_dir)
      else:
          # otherwise, use the installation directory
          hoomd_include_path = current_module_path / 'include'
  
      return hoomd_include_path.resolve()
function_tokens: def _get_hoomd_include_path ( ) : current_module_path = pathlib . Path ( hoomd . __file__ ) . parent . resolve ( ) build_module_path = ( pathlib . Path ( hoomd . version . build_dir ) / 'hoomd' ) . resolve ( ) # use the source directory if this module is in the build directory if current_module_path == build_module_path : hoomd_include_path = pathlib . Path ( hoomd . version . source_dir ) else : # otherwise, use the installation directory hoomd_include_path = current_module_path / 'include' return hoomd_include_path . resolve ( )