environment/lib/python2.7/site-packages/IPython/utils/sysinfo.py
def pkg_info(pkg_path):
    """Return dict describing the context of this package

    Parameters
    ----------
    pkg_path : str
       path containing __init__.py for package

    Returns
    -------
    context : dict
       with named parameters of interest
    """
    src, hsh = pkg_commit_hash(pkg_path)
    return dict(
        ipython_version=release.version,
        ipython_path=pkg_path,
        commit_source=src,
        commit_hash=hsh,
        sys_version=sys.version,
        sys_executable=sys.executable,
        sys_platform=sys.platform,
        platform=platform.platform(),
        os_name=os.name,
        default_encoding=encoding.DEFAULT_ENCODING,
        )
def pkg_info(pkg_path):
    src, hsh = pkg_commit_hash(pkg_path)
    return dict(
        ipython_version=release.version,
        ipython_path=pkg_path,
        commit_source=src,
        commit_hash=hsh,
        sys_version=sys.version,
        sys_executable=sys.executable,
        sys_platform=sys.platform,
        platform=platform.platform(),
        os_name=os.name,
        default_encoding=encoding.DEFAULT_ENCODING,
        )
def pkg_info ( pkg_path ) : src , hsh = pkg_commit_hash ( pkg_path ) return dict ( ipython_version = release . version , ipython_path = pkg_path , commit_source = src , commit_hash = hsh , sys_version = sys . version , sys_executable = sys . executable , sys_platform = sys . platform , platform = platform . platform ( ) , os_name = os . name , default_encoding = encoding . DEFAULT_ENCODING , )
Return dict describing the context of this package

    Parameters
    ----------
    pkg_path : str
       path containing __init__.py for package

    Returns
    -------
    context : dict
       with named parameters of interest
Return dict describing the context of this package