Skip to content

Commit

Permalink
Merge pull request #174 from parente/report-version
Browse files Browse the repository at this point in the history
Fix CLI --version
  • Loading branch information
Nitin Dahyabhai committed Jun 20, 2016
2 parents 32f8545 + 89f5035 commit 2c9f67f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel_gateway/gatewayapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from tornado.log import enable_pretty_logging

from notebook.notebookapp import random_ports
from ._version import __version__
from .services.sessions.sessionmanager import SessionManager
from .services.activity.manager import ActivityManager
from .services.kernels.manager import SeedingMappingKernelManager
Expand All @@ -43,12 +44,14 @@ class KernelGatewayApp(JupyterApp):
- starts the Tornado event loop
"""
name = 'jupyter-kernel-gateway'
version = __version__
description = """
Jupyter Kernel Gateway
Provisions Jupyter kernels and proxies HTTP/Websocket traffic
to them.
"""

# Server IP / PORT binding
port_env = 'KG_PORT'
port = Integer(config=True,
Expand Down

0 comments on commit 2c9f67f

Please sign in to comment.