parameters: ()
return_statement: return d
docstring: Return the path where to find the npy-pkg-config directory.
  
      If the NPY_PKG_CONFIG_PATH environment variable is set, the value of that
      is returned.  Otherwise, a path inside the location of the numpy module is
      returned.
  
      The NPY_PKG_CONFIG_PATH can be useful when cross-compiling, maintaining
      customized npy-pkg-config .ini files for the cross-compilation
      environment, and using them when cross-compiling.
docstring_summary: Return the path where to find the npy-pkg-config directory.
docstring_tokens: Return the path where to find the npy - pkg - config directory .
function: def get_npy_pkg_dir():
      """Return the path where to find the npy-pkg-config directory.
  
      If the NPY_PKG_CONFIG_PATH environment variable is set, the value of that
      is returned.  Otherwise, a path inside the location of the numpy module is
      returned.
  
      The NPY_PKG_CONFIG_PATH can be useful when cross-compiling, maintaining
      customized npy-pkg-config .ini files for the cross-compilation
      environment, and using them when cross-compiling.
  
      """
      d = os.environ.get('NPY_PKG_CONFIG_PATH')
      if d is not None:
          return d
      spec = importlib.util.find_spec('numpy')
      d = os.path.join(os.path.dirname(spec.origin),
              'core', 'lib', 'npy-pkg-config')
      return d
function_tokens: def get_npy_pkg_dir ( ) : d = os . environ . get ( 'NPY_PKG_CONFIG_PATH' ) if d is not None : return d spec = importlib . util . find_spec ( 'numpy' ) d = os . path . join ( os . path . dirname ( spec . origin ) , 'core' , 'lib' , 'npy-pkg-config' ) return d