diff --git a/README.rst b/README.rst index c11772a..67e233d 100644 --- a/README.rst +++ b/README.rst @@ -67,6 +67,11 @@ Then, append the output of ``python -m ipython_autoimport`` to the locate`` (typically ``~/.ipython/profile_default/``). If you don't have such a file at all, first create it with ``ipython profile create``. +When using Spyder, the above registration method will not work; instead, add +``%load_ext ipython_autoimport`` to the +:menuselection:`Preferences --> IPython console --> Startup --> Run code` +option. + Note that upon loading, ``ipython_autoimport`` will register its submodule auto-importer to IPython's "limited evalutation" completer policy (on IPython versions that support it). diff --git a/src/ipython_autoimport.py b/src/ipython_autoimport.py index ea41b49..88d2b8b 100644 --- a/src/ipython_autoimport.py +++ b/src/ipython_autoimport.py @@ -289,8 +289,8 @@ def unload_ipython_extension(ipython): if __name__ == "__main__": if os.isatty(sys.stdout.fileno()): print("""\ -# Please append the output of this command to the -# output of `ipython profile locate` (typically +# Please append the output of this command to the config file in +# the directory specified by `ipython profile locate` (typically # `~/.ipython/profile_default/ipython_config.py`) """) print("""\