Add entrypoint

pull/6294/head
Jeremy Tuloup 5 years ago
parent 8f0e4d64e2
commit 519fcee7a3

@ -41,7 +41,7 @@ class ClassicApp(LabApp):
extension_url = '/classic'
app_url = "/classic"
load_other_extensions = True
name = __name__
name = "classic"
app_name = 'JupyterLab Classic'
static_dir = os.path.join(HERE, 'static')
templates_dir = os.path.join(HERE, 'templates')

@ -52,6 +52,11 @@ setup_args = dict(
"Programming Language :: Python :: 3.9",
"Framework :: Jupyter",
],
entry_points={
"console_scripts": [
"jupyterlab-classic = jupyterlab_classic.app:main"
]
}
)

Loading…
Cancel
Save