jupyterlab/federated_labextensions.py
def develop_labextension_py(module, user=False, sys_prefix=False, overwrite=True, symlink=True, labextensions_dir=None, logger=None):
    """Develop a labextension bundled in a Python package.

    Returns a list of installed/updated directories.

    See develop_labextension for parameter information."""
    m, labexts = _get_labextension_metadata(module)
    base_path = os.path.split(m.__file__)[0]

    full_dests = []

    for labext in labexts:
        src = os.path.join(base_path, labext['src'])
        dest = labext['dest']
        if logger:
            logger.info("Installing %s -> %s" % (src, dest))

        if not os.path.exists(src):
            build_labextension(base_path, logger=logger)

        full_dest = develop_labextension(
            src, overwrite=overwrite, symlink=symlink,
            user=user, sys_prefix=sys_prefix, labextensions_dir=labextensions_dir,
            destination=dest, logger=logger
            )
        full_dests.append(full_dest)

    return full_dests
Develop a labextension bundled in a Python package.

    Returns a list of installed/updated directories.

    See develop_labextension for parameter information.
Develop a labextension bundled in a Python package.
Returns a list of installed/updated directories.

See develop_labextension for parameter information.
Develop a labextension bundled in a Python package . Returns a list of installed / updated directories . See develop_labextension for parameter information .
def develop_labextension_py(module, user=False, sys_prefix=False, overwrite=True, symlink=True, labextensions_dir=None, logger=None):
    m, labexts = _get_labextension_metadata(module)
    base_path = os.path.split(m.__file__)[0]
    full_dests = []
    for labext in labexts:
        src = os.path.join(base_path, labext['src'])
        dest = labext['dest']
        if logger:
            logger.info("Installing %s -> %s" % (src, dest))
        if not os.path.exists(src):
            build_labextension(base_path, logger=logger)
        full_dest = develop_labextension(
            src, overwrite=overwrite, symlink=symlink,
            user=user, sys_prefix=sys_prefix, labextensions_dir=labextensions_dir,
            destination=dest, logger=logger
            )
        full_dests.append(full_dest)
    return full_dests
def develop_labextension_py ( module , user = False , sys_prefix = False , overwrite = True , symlink = True , labextensions_dir = None , logger = None ) : m , labexts = _get_labextension_metadata ( module ) base_path = os . path . split ( m . __file__ ) [ 0 ] full_dests = [ ] for labext in labexts : src = os . path . join ( base_path , labext [ 'src' ] ) dest = labext [ 'dest' ] if logger : logger . info ( "Installing %s -> %s" % ( src , dest ) ) if not os . path . exists ( src ) : build_labextension ( base_path , logger = logger ) full_dest = develop_labextension ( src , overwrite = overwrite , symlink = symlink , user = user , sys_prefix = sys_prefix , labextensions_dir = labextensions_dir , destination = dest , logger = logger ) full_dests . append ( full_dest ) return full_dests
Develop a labextension bundled in a Python package.
Develop a labextension bundled in a Python package .
"""Develop a labextension bundled in a Python package.

    Returns a list of installed/updated directories.

    See develop_labextension for parameter information."""
module
user
sys_prefix
overwrite
symlink
labextensions_dir
logger