From b912a4d64b213b4bc6a09020167e65824950d2b9 2012-11-02 17:29:22 From: Bradley M. Froehle Date: 2012-11-02 17:29:22 Subject: [PATCH] Merge pull request #2542 from bfroehle/IPython_main Allow starting IPython as `python -m IPython`. --- 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()