##// END OF EJS Templates
Set exit code on script errors....
Set exit code on script errors. Only handle the issue related to .py scripts. 1. interactiveshell: The method safe_execfile is not totally safe now. Errors of user scripts are raised to a higher level, where we can decide what to do. 2. execution: The %run magic catches exceptions from safe_execfile. 3. shellapp: The _run_cmd_line_code method catches exceptions from safe_execfile and sets the right exit status. Partial-revert: 1. Change execution.py back. 2. Revert some changes in safe_execfile, then modify the excetion handling logic.

File last commit:

r21229:80c619a1
r21758:1404412d
Show More
MANIFEST.in
36 lines | 670 B | text/plain | TextLexer
include README.rst
include COPYING.rst
include setupbase.py
include setupegg.py
graft setupext
graft scripts
# Load main dir but exclude things we don't want in the distro
graft IPython
# Include some specific files and data resources we need
include IPython/.git_commit_info.ini
# Documentation
graft docs
exclude docs/\#*
exclude docs/man/*.1.gz
# Examples
graft examples
# docs subdirs we want to skip
prune docs/build
prune docs/gh-pages
prune docs/dist
# Patterns to exclude from any directory
global-exclude *~
global-exclude *.flc
global-exclude *.pyc
global-exclude *.pyo
global-exclude .dircopy.log
global-exclude .git
global-exclude .ipynb_checkpoints