Skip to content

Commit

Permalink
add jupyter.py
Browse files Browse the repository at this point in the history
so that `python -m jupyter` works when jupyter_core is installed.
  • Loading branch information
minrk committed Jan 21, 2016
1 parent ae0dca9 commit 562e5a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jupyter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""Launch the root jupyter command"""
if __name__ == '__main__':
from jupyter_core.command import main
main()
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def find_package_data():
packages = ['jupyter_core',
'jupyter_core.utils',
'jupyter_core.tests'],
py_modules = ['jupyter'],
package_data = package_data,
scripts = glob(pjoin('scripts', '*')),
description = "Jupyter core package. A base package on which Jupyter projects rely.",
Expand Down

0 comments on commit 562e5a4

Please sign in to comment.