From a846eadb0cdf02ace459e300ae4da7710754263f 2012-11-02 00:26:08 From: Bradley M. Froehle Date: 2012-11-02 00:26:08 Subject: [PATCH] Allow starting IPython as `python -m IPython`. Closes #2541. --- diff --git a/IPython/__main__.py b/IPython/__main__.py new file mode 100644 index 0000000..66af32a --- /dev/null +++ b/IPython/__main__.py @@ -0,0 +1,14 @@ +# encoding: utf-8 +"""Terminal-based IPython entry point. +""" +#----------------------------------------------------------------------------- +# Copyright (c) 2012, IPython Development Team. +# +# Distributed under the terms of the Modified BSD License. +# +# The full license is in the file COPYING.txt, distributed with this software. +#----------------------------------------------------------------------------- + +from IPython.frontend.terminal.ipapp import launch_new_instance + +launch_new_instance()