The following line in setupbase.py was the problem. It assumes
that your CWD is always at the repository root. This patch removes
this assumption.
execfile(pjoin('IPython','core','release.py'), globals())
`setup.py anything` will halt with an informative error
if the submodules are unclean.
It will fetch the submodules if they are entirely absent.
Nothing will happen if it is not a git repo.
Unicode literals (u'foo') aren't valid in Python 3.{1,2} (they will be
again in 3.3, and I failed to notice this. This is a quick fix, will
discuss further on-list. But I want master to remain working for py3
users.
Don't build sphinx docs for sdists, it makes our source distributions unnecessarily large (and their generation much slower). Online access to docs is pervasive these days, and our docs are also much easier to build now, reducing the justification for keeping built docs in the source download.
Previously, the package list was manually specified, which meant that
it became out of date any time a package was added, and IPython would
become uninstallable. This would not be noticed for some time by
developers, who always use `setupegg.py --develop` or symlinks.
This update immediately revealed that IPython.zmq.tests and IPython.extensions.tests were never included in 0.11. Other than that, there is no difference in the package list.
The PDF docs are huge, take forever to build and aren't particularly
useful in practice being so unwieldy. We can always build and
manually upload a static copy if there's demand, but they don't really
serve much useful purpose anymore and bloat our downloads.
the ipython-qtconsole script has been removed in favor of 'ipython qtconsole', but the ipython-qtconsole *GUI* script remains, when installed with setuptools.
Move all libraries in external into subfolders and place a custom
__init__.py into each of them. This way the system installed ones are
tried first, before falling back to the bundled ones.
Now every distribution can properly depend on the upstream library.
(e.g. bundled libraries are not allowed in fedora)
Signed-off-by: Toshio Ernie Kuratomi <toshio@fedoraproject.org>
Signed-off-by: Thomas Spura <tomspur@fedoraproject.org>
* Moved the pprint attribute to PlainTextFormatter.
* Added DisplayFormatter.plain_text_only for disabling all but the
plain text formatting. This is now used by doctest_mode.
* Remove result_display hook.
* Fixed doctest_mode magic.
* Refactored inline matplotlib backend to use new display system.
* Added display formatter for matplotlib.figure.Figure objects.
so the display system will show the svg for them.
* Added display and display_png to the user's namespace in pylab.
* Cleaned up pylabtools.py
As best I can tell, we've been mis-specifying data_files for ages.
For some reason with a plain setup.py it worked fine, but using a
customized cmdclass for build_py, the error shows up.
The problem was that we were returning a list of triples for
data_files, and the spec clearly says they must be pairs:
http://docs.python.org/distutils/setupscript.html?highlight=data_files#installing-additional-files
The ipapi.py module has been completely deprecated as of this point.
No new code should use it and all existing code that uses it will
migrate away from it. The launch_new_instance function has
been moved to ipapp and the setup.py scripts have been updated.
- Fix links for pyreadline.
- Fix setup.py to include new -wx script.
- Add pylab profile to win32 native installer.
- Fix manual win32 post install script (though this script may not work, and
I'm considering removing it...)
the test suite to fail when IPtyhon was installed. I have modified find_package_data
in setupbase.py to include these files. Anyone who writes tests that rely on .txt
files needs to add them to the package_data.
the full tree of our rst docs are not included in the data_files. Not sure if/how
we want to handle that. It was easy when we had a single file documentation, but
not we have a full directory hierarchy full of rst files.
was spelled as lowercase. This didn't cause a problem on OS X as it is case insensitive. But
on Linux, it crashed. Now ipython is spelled properly as "IPython". Also, kernel/config/tests
and UserConfig were missing their __init__.py files. These have been added.