Commit Graph

170 Commits

Author SHA1 Message Date
Thomas Kluyver
44ab946b2d Make mistune a requirement for nbconvert 2014-07-17 10:04:12 -07:00
MinRK
2235f16c5c remove jsonschema and jsonpointer from external
add them as nbformat dependencies
2014-06-09 11:53:33 -07:00
Thomas Kluyver
a9ee746b59 Merge pull request #5571 from minrk/readline-deps
add ipython[terminal] dependency group
2014-04-21 12:02:53 -07:00
MinRK
b563aaf948 add ipython[terminal] dependency group
for pyreadline on Windows.

gnureadline is still a dependency on OS X

pyreadline will *not* be installed by default anymore.
There will no longer be any checks for dependencies in entry points.
2014-04-21 11:42:03 -07:00
cgohlke
b05806e553 Remove PyReadline as a install requirement on Windows 2014-04-09 13:45:01 -07:00
MinRK
c8a701e0f8 check for Python 3.2
in setup.py and init

treats unsupported 3.x < 3.3 like unsupported 2.x
2014-04-02 12:27:26 -07:00
Jonathan Frederic
bd0bfad261 s/COPYING.txt/COPYING.rst 2014-03-25 15:20:47 -07:00
Thomas Kluyver
78943c7258 Add mock to requirements for testing 2014-03-03 12:30:47 -08:00
MinRK
990756af98 adjust dependency check for gnureadline on OS X
- always depend when making a bdist (for consistency)
- otherwise only depend if missing (e.g. pip install -e)
2014-02-21 01:57:14 -08:00
MinRK
1491e4cec6 depend on new gnureadline instead of readline on OS X
this is the same package under a different name,
to avoid the stdlib-overriding behavior that relied on easy_install's unpleasantness.
2014-02-21 01:50:36 -08:00
MinRK
17d5c263a8 run check_package_data as part of build_py
rather than explicitly in setup.py
2014-02-07 14:12:53 -08:00
MinRK
c79134f2d9 only validate package_data when it might be used
closes #5046
2014-02-05 21:36:49 -08:00
MinRK
0c62217720 make all of the extras lists
simpler, that way
2014-02-03 17:26:31 -08:00
MinRK
f1f56e7144 only check for dependencies when installing without setuptools 2014-02-03 17:22:42 -08:00
MinRK
4975f2db6b always construct requirements 2014-02-03 17:22:42 -08:00
Thomas Kluyver
c185202194 Remove mention of iplogger from setup.py 2014-01-30 18:11:55 -08:00
Thomas Kluyver
a9475b4a2b Remove some leftover traces of irunner 2014-01-21 16:26:36 -08:00
Thomas Kluyver
74cb75e0c9 Add 'unsymlink command to remove the symlink 2013-12-16 15:12:39 -08:00
Thomas Kluyver
4b55a7dddf Bump Sphinx version dependency 2013-12-10 16:50:37 -08:00
Thomas Kluyver
6745b97f91 Stop bundling the numpydoc Sphinx extension
numpydoc is now a separately installable package, so we can express a
dependency for the 'doc' install option, rather than bundling it. This
gets us bugfixes that our copy was lacking - one of which was causing a
problem for the ShiningPanda docs job.
2013-12-10 16:36:07 -08:00
MinRK
71d6a80629 add setup.py jsversion
for writing the IPython version to `IPython.version` in javascript.

supersedes #4357
2013-11-07 16:34:13 -08:00
Thomas Kluyver
883c46b5b5 Rework setup to allow installing on Python 2 and 3.
Scripts named ipython and ipython[23], etc.

Neither distutils nor setuptools made this easy.
2013-10-31 17:38:34 -07:00
Thomas Kluyver
432377439b Fix renaming scripts with 3 suffix on Python 3 2013-10-29 09:15:55 -07:00
Thomas Kluyver
27c8c81c05 Update setup.py to not use 2to3 2013-10-29 09:15:55 -07:00
MinRK
6fa13ebb98 bump minimum tornado version to 3.1.0
The no-hidden behavior of the files handler
already requires this, but instead of raising, it just doesn't hide hidden files.

Bumping the minimum version also allows much cleaner static file handler subclasses.
2013-10-23 14:04:35 -07:00
Thomas Kluyver
0cd7d8a5de Remove pycolor script 2013-10-04 12:48:32 -07:00
MinRK
74795c2c56 add setup.py css command
It just does `cd IPython/html && fab css`, but I'm tired of doing it manually.
2013-09-14 12:24:57 -07:00
MinRK
0b97ac8138 update version-check message in setup.py and IPython.__init__
clearer message that IPython no longer supports 2.6.
2013-09-09 11:13:28 -07:00
MinRK
c1731d914e add 'all' extras
which should get everything
2013-07-17 15:05:08 -07:00
Paul Ivanov
1f997d3892 check for markdown no longer needed, closes #3610
After #3582 was merged, we no longer depend on a python version of
markdown
2013-07-10 22:23:50 -07:00
Brian E. Granger
072a94370d Fixing install logic for nbconvert. 2013-06-30 18:05:02 -07:00
Thomas Kluyver
642ef40c82 Make submodule checks work under Python 3.
Closes gh-3385
2013-05-30 11:17:51 +01:00
MinRK
cba52f17e5 use utils/submodule in setup.py
`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.
2013-05-03 15:42:10 -07:00
MinRK
6e32ee5546 ensure submodules exist prior to doing anything
git submodule update fires before distutils gets fired up
because distutils cannot be trusted.
2013-04-30 16:18:52 -07:00
Min RK
b1acb5254e Merge pull request #2635 from cgohlke/windows-startmenu
Improve Windows start menu shortcuts

* Create Windows start menu shortcuts with better names.
* Add shortcuts for IPython Notebook and online documentation.
* Add icons for IPython console and notebook.
* Apply PEP8 to ipython_win_post_install.py.
* Tested on win32-py2.7, win-amd64-py2.7, win-amd64-py3.3, Windows 8.
2013-04-13 12:06:30 -07:00
MinRK
f677571f61 don't give up on weird os names
like java

closes #3113
2013-03-30 11:51:32 -07:00
MinRK
1c196310d4 bump minimum pyzmq version to 2.1.11
and remove the associated workarounds for old pyzmq
2013-01-28 14:21:56 -08:00
MinRK
27dab0b2fd add jinja to optional dependencies in setup.py 2013-01-23 09:58:04 -08:00
Christoph Gohlke
42a02ec447 Improve Windows start menu shortcuts 2012-11-30 16:21:57 -08:00
MinRK
660ea94d73 add missing 'qtconsole' extras_require
The docs mention `easy_install ipython[qtconsole]`, but that would fail. The alternative would be to change the docs, but then we would have no expression of the pygments optional dependency.

should be back ported to 0.13.1
2012-10-14 14:09:27 -07:00
Benjie Chen
ab1aef9b88 allow pip install from github repository directly 2012-08-13 10:19:45 -04:00
Matthias BUSSONNIER
268fdd80c3 remove tuple_params fix from 2to3 in setup.py 2012-07-17 23:48:20 -05:00
Bradley M. Froehle
9ff624471d Skip has_key when running 2to3. 2012-07-15 09:55:56 -07:00
Bradley M. Froehle
9dd190f134 Apply 2to3 next fix.
Manually set `next = __next__` for Python 2 support.
2012-07-13 15:59:26 -07:00
Matthias BUSSONNIER
bd2ccf816a deactivate 2to3 repr fix when using setup.py 2012-07-05 12:56:29 +02:00
Matthias BUSSONNIER
86788872a8 deactivate 2to3 apply fix when using setup.py 2012-07-05 12:54:17 +02:00
Thomas Kluyver
b43f24da5f Merge pull request #2064 from Carreau/pep-3110
Use new style "except Exception as e" syntax.
2012-07-04 13:50:45 -07:00
Matthias BUSSONNIER
908c4ea8f9 fix english in comment 2012-07-04 13:25:23 +02:00
Matthias BUSSONNIER
86787a3b62 disable some specific 2to3 fixes whith setup.py
this should allow a more compatible codebase between python 2.x and 3.x
2012-07-04 08:35:35 +02:00
MinRK
d2940640f5 record sysinfo in sdist
closes #2054
2012-06-30 15:17:46 -07:00
MinRK
3b4f48e16d enable uploading wininst to PyPI with tools/release_windows.py
adds upload_wininst command to setup.py
2012-06-30 13:41:30 -07:00
Thomas Kluyver
e825279ded Force setuptools to skip byte compilation when installing on Python 3.
Closes gh-1470
2012-04-18 14:02:29 +01:00
MinRK
3e3137bd00 don't build sphinx docs for sdist 2012-02-28 10:27:42 -08:00
Nathan Rice
74b1c7d61e pyreadline dependency pushed to 1.7.1 for all versions of windows. Also, solves an issue that has been observed when IPython is used with some older versions of pyreadline. 2012-01-20 13:21:36 -05:00
Thomas Kluyver
75ec655663 Remove separate setup.py file for Python 3. 2012-01-04 21:51:54 +00:00
Fernando Perez
b98add8e32 Fix setup.py script to be executable (other tools expect this) 2011-10-09 11:28:13 -07:00
Thomas Kluyver
4bf2e41967 Allow 'python setup.py install' to work correctly for either Python 2 or 3. 2011-09-07 12:22:32 +01:00
Brian E. Granger
0877b01a74 Adding initial documentation on the notebook. 2011-08-11 09:19:43 -07:00
Fernando Perez
d4123881c6 Disable PDF manual building for distribution and installation.
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.
2011-07-30 23:51:40 -05:00
Fernando Perez
7f4092a012 Fix installation of manpages. 2011-07-29 21:27:29 -05:00
Julian Taylor
290f796061 setup.py: add iplogger manpage to list of manpages 2011-07-21 22:27:47 +02:00
MinRK
a79bd91af7 cleanup removed ipythonx,ipython-wx from setup.py 2011-07-18 14:43:16 -07:00
Christoph Gohlke
ec560ae17b Windows install fixes
* Make Start menu item include Python version and bit-ness (prevents clobbering)
* don't ask setuptools to install pyreadline on 64b Windows, due to pyreadline bug #787574
2011-07-04 13:21:06 -07:00
MinRK
0332489792 'install' depends on setuptools on Windows 2011-06-24 12:14:36 -07:00
MinRK
34b5f30a9a update zmq dependency to 2.1.4 2011-06-20 16:40:22 -07:00
epatters
8bd4f9272c Clean up entry point definition is setup.py. 2011-05-10 10:56:44 -05:00
Evan Patterson
3ba4061e0e Make ipython-qtconsole a GUI script in setuptools. 2011-05-09 15:48:49 -05:00
MinRK
af196e3446 make display_status optional at runtime in setupext
This allow the check_for_readline to *not* print its indented status line

closes gh-361
closes gh-20
2011-04-11 17:42:43 -07:00
MinRK
67c6025d9e don't rely on setuptools for readline dependency check 2011-04-11 17:42:06 -07:00
MinRK
131086119a make readline a dependency on OSX and pyreadline on Windows
closes gh-343
2011-04-09 12:44:41 -07:00
MinRK
e4a5c1815e prevent duplicate script installs in setuptools
closes gh-335
2011-04-07 22:52:19 -07:00
MinRK
b84c3f0cd6 organize IPython.parallel into subpackages 2011-04-07 17:38:58 -07:00
MinRK
587b10631a rebase IPython.parallel after removal of IPython.kernel
This commit removes all '*z' suffixes from scripts and docs,
as there is no longer conflict with IPython.kernel.
2011-04-07 17:38:57 -07:00
MinRK
2b4ab756ab move IPython.zmq.parallel to IPython.parallel 2011-04-07 17:38:51 -07:00
MinRK
9afdcad9e9 adapt kernel's ipcluster and Launchers to newparallel 2011-04-07 17:38:16 -07:00
MinRK
343d69750c Refactor newparallel to use Config system
This is working, but incomplete.
2011-04-07 17:38:16 -07:00
MinRK
796c94b230 added simple cluster entry point 2011-04-07 17:38:08 -07:00
MinRK
b364c8aad5 added zmq controller/engine entry points 2011-04-07 17:38:08 -07:00
MinRK
6ea1a28d55 remove IPython.kernel scripts and put migration notice in docs.
closes gh-325
2011-04-06 13:35:45 -07:00
Brian Granger
527aa15f84 Removed Twisted related things from setup scripts and testing. 2011-03-30 23:20:28 -07:00
Darren Dale
8e91a9d0d9 fix windows post-installation routines with setuptools installed 2010-11-02 16:18:29 -04:00
Fernando Perez
a1fa49b9d4 Add support for commit information in auto-generated archives.
This uses the tool to record the commit data from our previous commit,
and ensures that auto-generated archives from Github, for example,
always carry identifying information.

Ideas and code taken from Matthew Brett's tools in nibabel.
2010-10-26 23:19:35 -07:00
Fernando Perez
da1557f1c0 Fix invalid version check in setup.py. 2010-10-26 16:48:15 -07:00
Fernando Perez
f759524310 Fix name of entry script for setuptools. 2010-09-28 16:16:50 -07:00
epatters
2b63052424 Update setup.py for setuptools support for ipythonqt script. 2010-09-02 15:56:52 -05:00
Brian Granger
30627d74a5 Moving and renaming in preparation of subclassing InteractiveShell.
* IPython/scripts/ipython -> IPython/frontend/terminal/scripts
* IPython.core.ipapp -> IPython.frontend.terminal.ipapp
* IPython.core.embed -> IPython.frontend.terminal.embed
* IPython.core.iplib -> IPython.core.interactiveshell
2010-08-12 15:40:30 -07:00
Brian Granger
e24997b0ba Work to address the review comments on Fernando's branch.
* Added comment about Magic(object) (r1224)
* Moved InteractiveTB.set_mode from IPythonApp -> InteractiveShell (r1229)
* Moved pylabtools.py to IPython/lib (r1229)
* Cleaned up comments and copyrights in testing (r1233)
* Added comment about ip.shell._ofind (r1237)
* Removed "Bye." from quitter (r1240).
* Refactored and removed :mod:`IPython.utils.genutils` and
  :mod:`IPython.utils.platutils`. These modules have been replaced by topical
  focused modules in :mod:`IPython.utils`.
* Refactored tests in :mod:`IPython.utils.tests`.
* Moved :func:`IPython.testing.tools.temp_pyfile` to :mod:`IPython.utils.io`.
* Moved :func:`IPython.testing.tools.cmd2argv` to
  :func:`IPython.testing.tools.pycmd2argv` and documented the fact that this
  only works with Python based command line programs.
* Created a new :func:`IPython.utils.path.get_ipython_module_path` to use
  in finding paths to IPython modules.
2010-01-29 16:24:13 -08:00
Fernando Perez
4041a88063 Inform user at install time of minimal python requirements if not met.
Fixes: https://bugs.launchpad.net/ipython/+bug/505090
2010-01-16 16:57:22 -08:00
Fernando Perez
56d74fedba Move cleanup to main setup.py, where it belongs.
Distutils now generates .egg-info stuff even without setuptools, so we
should do the cleanup in the main script.
2010-01-12 21:03:16 -08:00
Fernando Perez
f7422d6539 Improve setuptools support.
Many thanks to Gael for the code/idea for the solution, see bug page for
details.

Fixes: https://bugs.launchpad.net/ipython/+bug/504968
2010-01-09 19:31:46 -08:00
Brian Granger
4c83569772 Semi-working refactored ipcluster.
This version uses the NotificationCenter, which I am not sure I like.
But, it is important to see how all of this works.
2009-10-28 18:15:02 -07:00
Brian Granger
c9b9d7550a The ipengine script has been refactored to use the new config system.
It is also now a formal Application: IPython.kernel.ipengineapp
2009-10-21 20:06:22 -07:00
Brian Granger
f0301f402b Work on ipcontroller.
* The IPControllerApp now uses ApplicationWithDir to manage the app_dir.
* The setup.py script and ipcontroller script have been updated to use
  the new IPControllerApp.
* launch_new_instance created and being used.
2009-10-18 09:25:32 -07:00
Brian Granger
81e0e8805d Removed ipapi compatability layer and updated top-level functions.
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.
2009-09-17 19:59:36 -07:00
Brian Granger
6b0c7134ef Merging -r 1180 from lp:ipthon
No conflicts!
2009-08-03 13:04:27 -07:00
Fernando Perez
b7d773553d Update setup and support tools to include new man pages. 2009-07-30 18:16:44 -07:00
Brian Granger
7b495ced75 Fixing installation related issues. 2009-07-02 14:35:36 -07:00
Brian Granger
84df0f39f7 Fixing the setup.py script under setuptools and the __init__.py script. 2009-07-01 22:45:57 -07:00
Fernando Perez
41236085a0 Final updates for releasing the 0.9.rc1.
Mostly small tweaks and fixes to the release tools, improved dependency
checking for the documentation build.
2008-08-28 16:34:53 -07:00
Brian Granger
099de008a4 Skipping a few tests that fail on Windows. 2008-08-23 23:34:39 -07:00