mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Initial reorg of files complete.
I have moved things around to get ready for making the notebook a full blown app, but have not actually made it an app. That is next.
This commit is contained in:
parent
29bd45d3d5
commit
1140eeb679
@ -6,13 +6,10 @@ import urllib
|
||||
import uuid
|
||||
from Queue import Queue
|
||||
|
||||
from tornado import options
|
||||
from tornado import web
|
||||
from tornado import websocket
|
||||
|
||||
|
||||
options.define("port", default=8888, help="run on the given port", type=int)
|
||||
|
||||
_kernel_id_regex = r"(?P<kernel_id>\w+-\w+-\w+-\w+-\w+)"
|
||||
_kernel_action_regex = r"(?P<action>restart|interrupt)"
|
||||
|
||||
|
@ -115,7 +115,7 @@ class NotebookApplication(web.Application):
|
||||
return router
|
||||
|
||||
|
||||
def main():
|
||||
def launch_new_instance():
|
||||
options.parse_command_line()
|
||||
application = NotebookApplication()
|
||||
http_server = httpserver.HTTPServer(application)
|
||||
|
@ -282,7 +282,7 @@ def find_scripts(entry_points=False):
|
||||
if entry_points:
|
||||
console_scripts = [
|
||||
'ipython = IPython.frontend.terminal.ipapp:launch_new_instance',
|
||||
'ipython-notebook = IPython.frontend.html.notebook.notebook:main',
|
||||
'ipython-notebook = IPython.frontend.html.notebook.notebookapp:launch_new_instance',
|
||||
'pycolor = IPython.utils.PyColorize:main',
|
||||
'ipcontroller = IPython.parallel.apps.ipcontrollerapp:launch_new_instance',
|
||||
'ipengine = IPython.parallel.apps.ipengineapp:launch_new_instance',
|
||||
|
Loading…
Reference in New Issue
Block a user