Merge pull request #950 from minrk/startup

Add directory for startup files, enabling users to add local configuration more simply without having to know how the config system works much at all.

Now, `profile/startup` dir is checked for files, and they are run prior to explicit exec_code and exec_files.

A short README is added to the dir explaining how they work, and a short paragraph is added to the docs, in both the interactive tutorial and config overview.
This commit is contained in:
Fernando Perez 2011-10-30 17:35:15 -07:00
commit 425de1bd73

View File

@ -132,7 +132,7 @@ def find_package_data():
static_data.append(os.path.join(parent, f))
package_data = {
'IPython.config.profile' : ['README', '*/*.py'],
'IPython.config.profile' : ['README*', '*/*.py'],
'IPython.testing' : ['*.txt'],
'IPython.frontend.html.notebook' : ['templates/*'] + static_data,
'IPython.frontend.qt.console' : ['resources/icon/*.svg'],