(cd docs/sphinx; make html)
sphinxdoc: sphinxbuild
- python -c 'import webbrowser; \
- webbrowser.open("./docs/sphinx/_build/html/index.html")'
+ python -m webbrowser "./docs/sphinx/_build/html/index.html"
doc: sphinxbuild haddock
import re
from external.path import path # used by other modules
-from IPython.frontend.terminal.embed import InteractiveShellEmbed
+
+try:
+ from IPython import embed as ip
+except ImportError:
+ from IPython.frontend.terminal.embed import InteractiveShellEmbed
+ # interactive IPython shell
+ ip = InteractiveShellEmbed(banner1 = 'Dropping into IPython\n')
+
+
from config import dynahome, dotdynadir
from collections import namedtuple, defaultdict
from cStringIO import StringIO
if name.startswith('u') and not name.startswith('u_'))
-# interactive IPython shell
-ip = InteractiveShellEmbed(banner1 = 'Dropping into IPython\n')
-
-
def get_module(cmd, sub):
try:
exec 'from %s.%s import %s as m' % (cmd, sub, sub)