Beispiel #1
0
def main():
    patch_app_dir(labextensions.BaseExtensionApp)
    labextensions.main()
Beispiel #2
0
def main():
    os.environ['JUPYTERLAB_DIR'] = os.path.join(sys.prefix, 'share', 'jupyter', '{{ cookiecutter.project_slug }}')
    labextensions.BaseExtensionApp.app_dir.default_value = os.environ['JUPYTERLAB_DIR']
    labextensions.main()
Beispiel #3
0
# -*- coding: utf-8 -*-
import re
import sys

from jupyterlab.labextensions import main

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(main())
Beispiel #4
0
def main():
    os.environ['JUPYTERLAB_DIR'] = os.path.join(sys.prefix, 'share', 'jupyter',
                                                'plotlylab')
    labextensions.BaseExtensionApp.app_dir = os.environ['JUPYTERLAB_DIR']
    labextensions.main()
def main():
    patch_app_dir(labextensions.BaseExtensionApp)
    patch_build_dir(labapp.LabBuildApp)
    return labextensions.main()