def handle(self, **options):
print('... starting jawaf shell ...')
waf = Jawaf(settings.PROJECT_NAME)
# Use IPython if it exists
try:
import IPython
IPython.embed()
return
except ImportError:
pass
# Use bypython if it exists
try:
import bpython
bpython.embed()
return
except ImportError:
pass
# Ok, just do the pumpkin spice python shell.
import code
code.interact(local=locals())
评论列表
文章目录