#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Sage IPython startup script.
"""

from sage.repl.interpreter import SageTerminalApp

# installs the extra readline commands before the IPython initialization begins.
from sage.repl.readline_extra_commands import *

app = SageTerminalApp.instance()
app.initialize()
app.start()
