Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions enterprise_gateway/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
"""Entrypoint for the enterprise gateway package."""
from .enterprisegatewayapp import launch_instance
from ._version import __version__

"""Lazy-loading entrypoint for the enterprise gateway package."""
def launch_instance(*args, **kwargs):
from enterprise_gateway.enterprisegatewayapp import launch_instance
launch_instance(*args, **kwargs)
7 changes: 0 additions & 7 deletions scripts/jupyter-enterprisegateway

This file was deleted.

5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
'enterprise_gateway.services.processproxies',
'enterprise_gateway.services.sessions'
],
scripts=[
'scripts/jupyter-enterprisegateway'
],
install_requires=[
'docker>=3.5.0',
'future',
Expand Down Expand Up @@ -83,7 +80,7 @@
# setupstools turns entrypoint scripts into executables on windows
setup_args['entry_points'] = {
'console_scripts': [
'jupyter-enterprisegateway = enterprise_gateway:launch_instance'
'jupyter-enterprisegateway = enterprise_gateway.enterprisegatewayapp:launch_instance'
]
}
# Don't bother installing the .py scripts if if we're using entrypoints
Expand Down