Commit Graph

190 Commits

Author SHA1 Message Date
Min RK
6d9b7c918c add terminado as [notebook] dep on non-Windows 2015-01-29 16:48:09 -08:00
Min RK
fe64986161 calculate 'all' dependency set after finishing the rest
some platform-dependent things were excluded from 'all'
2015-01-29 16:48:09 -08:00
Lev Abalkin
f6c9dc44b7 Closes #7558: Added pygments entry points for ipython lexers. 2015-01-23 19:52:20 -05:00
Min RK
67124b4fcc remove strict arg from css_js_prerelease 2015-01-09 14:02:39 -08:00
Min RK
4b04752863 remove strict requirement for less,invoke in wheel/sdist
move the strictness to our release script

this means others can build personal wheels without less, invoke,
but IPython releases still cannot be made without them,
which is the real goal.
2015-01-09 10:47:08 -08:00
Matthias Bussonnier
4e2dfe2527 Some code cleanup in javascript and python
change patern that are prone to error, like function redifinition
and other.
2014-12-27 21:39:07 +01:00
Min RK
feee854217 don't cleanup egg-info after every setup.py command
would cause `setup.py css` or any other command 
to effectively uninstall a development install.
2014-12-12 16:31:34 -08:00
Kyle Kelley
9c259a4439 Bump mistune to 0.5 in notebook deps 2014-12-05 10:07:33 -06:00
Peter Odding
18129cb396 Depend on gnureadline when building binary wheel or setupext.check_for_readline() fails
This is a follow up to 4d9f6f00a4f0798e41700c22a839eddff0881692 based on
the discussion in pull request #7047 where we seem to have found a middle
ground that should make everyone happy :-)
2014-12-01 21:48:48 +01:00
Peter Odding
b198f3b4d6 Always depend on gnureadline if setupext.check_for_readline() fails
The inconsistency (asymmetry) of unconditionally adding gnureadline as a
dependency of binary distributions can cause issues like reported at
https://github.com/paylogic/pip-accel/issues/34
2014-11-28 02:44:47 +01:00
Min RK
48d77b3f03 Merge pull request #6886 from minrk/tornado-4
require tornado 4
2014-11-13 12:23:32 -08:00
Thomas Kluyver
37a2a8a6e5 Install on Windows without using setuptools
This creates batch files, with a .cmd extension, which can launch
IPython from 'ipython' at a command line, to replace the .exe files
created by setuptools.

This makes repeated installations much quicker on Windows.
2014-11-11 10:38:05 -08:00
Min RK
19bcc5fed9 bump minimum tornado version to 4.0
remove various websocket workaround for tornado 3
2014-11-07 22:39:25 -08:00
Min RK
69fc75e3cf add 'requests' as test dependency
since it is one
2014-11-01 16:20:20 -07:00
MinRK
1a4b795870 Use Draft4 JSON Schema for both v3 and v4
no longer need jsonpointer
2014-10-08 12:33:31 -07:00
MinRK
6d292040b4 require mistune 0.3.1
changed signatures
2014-07-31 11:52:57 -07:00
MinRK
b1882ca9e5 add strict arg to css_js setup decorator
and attempt to build css on build_by (install)
2014-07-23 16:59:43 -07:00
MinRK
0eae787b58 don’t store minified css in development
- setup css defaults to non-minified css
- build minified css and jsversion on sdist/wheel
2014-07-23 14:19:27 -07:00
Thomas Kluyver
5904b9094d Version dependency on mistune 2014-07-17 10:04:44 -07:00
Thomas Kluyver
890f9cd88c Add deps for nbconvert to HTML for 'notebook' target
Also, nbconvert no longer requires Sphinx.
2014-07-17 10:04:44 -07:00
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