Skip to content

Fix for getting core_path #12

@fcollonval

Description

@fcollonval

@cronan03 to solve the issue for

https://github.com/jupyterlab/jupyterlab-builder/blob/727dc285ea97b730068731c177915144b61a8fd7/jupyter_builder/federated_extensions.py#L202

I suggest you replace osp.join(HERE, "staging") by a call to a new function default_core_path that will have the following implementation:

from pathlib import Path

def default_core_path() -> str:
    import jupyterlab
    return str(Path(jupyterlab.__file__).parent / "staging")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions