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:
Brian E. Granger 2011-07-01 11:22:17 -07:00
parent 29bd45d3d5
commit 1140eeb679
3 changed files with 2 additions and 5 deletions

View File

@ -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)"

View File

@ -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)

View File

@ -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',