##// END OF EJS Templates
Merge pull request #2124 from bfroehle/use_alias_magic...
Merge pull request #2124 from bfroehle/use_alias_magic Add an API for registering magic aliases. Add a method `register_alias` to `MagicsManager` which can be used to register new magic aliases. Each magic alias is an instance of `MagicAlias`, a helper class whose `__call__` looks up the target of the alias (at call time) and dispatches the magic call. As a future benefit, this could be easily extended to allow for new aliases which contain some flags to pass to the function. For example, it would be easy to change the behavior to allow the creation of an `%ex` alias for `%edit -x`.

File last commit:

r7706:0f7d5959
r8023:a5beb59f merge
Show More
MANIFEST.in
38 lines | 812 B | text/plain | TextLexer
include README.rst
include ipython.py
include setup2.py
include setup3.py
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
prune IPython/deathrow
prune IPython/external/js
prune IPython/frontend/html/notebook/static/mathjax
# Include some specific files and data resources we need
include IPython/.git_commit_info.ini
include IPython/frontend/qt/console/resources/icon/IPythonConsole.svg
# Documentation
graft docs
exclude docs/\#*
exclude docs/man/*.1.gz
# docs subdirs we want to skip
prune docs/attic
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