Min RK
67b54ffbec
clarify jsdeps command description
...
it's js dependencies (both build and run)
10 years ago
Min RK
d7a0aba848
only write file in jsversion if there's a change to make
...
avoids updating the file's mtime unnecessarily, forcing a rebuild
10 years ago
Min RK
fdc1bb50da
simplify js build steps
...
- run npm, bower install every time (except from sdist).
Removes need to check npm, bower sources.
- only check `built/index.js` for build target
since webpack is only a single step now
10 years ago
Min RK
a1458ce8fc
Merge pull request #1047 from jdfreder/webpack
...
use webpack
10 years ago
Jonathan Frederic
252b0fcefb
Update setupbase to match build output
10 years ago
Jonathan Frederic
b0fb5df3ad
Add source maps, chunks, and remove previous build tool
10 years ago
Jonathan Frederic
c3e4def82c
Add JS building step to setupbase
10 years ago
Min RK
b0772dd3c7
include SVG mathjax output
...
we now ship all mathjax output formats
We still strip down to a single font (STIX-Web)
10 years ago
Min RK
204d907df7
distutils.log has no warning
...
overzealous find/replace for deprecated `logging.warn`.
`distutils.log.warn` is not deprecated and their is no `distutils.log.warning`.
10 years ago
Diego Mesa
482ed8a5a3
updating log.warn to log.warning
10 years ago
Min RK
bb6368a545
package data may be computed prior to components being fetched
...
trust that it will be re-run after npm/bower
10 years ago
Min RK
b3cab90e9a
only scrub SVG output
...
which is the largest
rather than white-listing HTML-CSS.
This means the various other renderers (perhaps most importantly, MML) are available, not just HTML-CSS
This increases the size of a notebook install by ~800k/19MB or 5%.
Alternately, we could *only* add MML, which would have a negligible affect on install size.
10 years ago
Matthias Bussonnier
3f921ff4d9
Simplify how to pass noprogress
10 years ago
Matthias Bussonnier
8339f40ca2
Apparenlty deactivating progress bar on npm make install much faster...
...
https://twitter.com/gavinjoyce/status/691773956144119808
https://news.ycombinator.com/item?id=10974929
10 years ago
Jonathan Frederic
e9406edc2d
Merge pull request #550 from minrk/shell-only-windows
...
fix subcommand quoting on Windows in setup.py
11 years ago
Min RK
95f12eb620
include typeahead with installation
11 years ago
Min RK
dd6211f42e
fix subcommand running on Windows
11 years ago
Min RK
f175b2391a
shell=True wants a string cmd
11 years ago
Min RK
f1396457fb
run commands with shell=True
...
appears to be needed on Windows,
and should be harmless elsewhere.
11 years ago
Matthias Bussonnier
2d5d548d79
Revert "Use NPM, node ES5, and browserify."
11 years ago
Steven Silvester
307d9ee49c
Include components in setup base
11 years ago
Jonathan Frederic
b689700910
Only build once, via npm postinstall
11 years ago
Jonathan Frederic
b2bf69f6d7
fix jsversion command
11 years ago
Jonathan Frederic
a719e19b39
Add script to amd-ify the commonjs code,
...
(backwards compat. and dynamic loading)
11 years ago
Jonathan Frederic
72bdf877fd
Fix package check
11 years ago
Kyle Kelley
8f0ea42dd4
Allow for graceful failure by finishing string. ;)
11 years ago
jdfreder
b88fa0163a
Use npm for js and less builds
11 years ago
Matthias Bussonnier
80f20cb1d6
include mathjax extensions that are dynamically loaded
...
Allow to render binomial and other things:
Closes ipython/ipython#8754
11 years ago
Min RK
dee660757d
install mathjax safe extension
11 years ago
Min RK
659e1df77e
install MathJax safe config
...
MathJax safe mode is enabled, but a full (non-dev) install omits the Safe.js config file
11 years ago
Min RK
a394579b84
require js/css targets to exist
...
don't ignore failure to rebuild if the targets are missing
this could happen for users running from git without npm
11 years ago
Min RK
c41df91b10
remove gulp
...
Follow-suit from ipywidgets and
build js/css with Python/js scripts instead:
e.g.
- `npm run build`
- `setup.py js css`
11 years ago
Jonathan Frederic
5c18ecb151
Merge pull request #102 from Carreau/no-global
...
Start working on removing global JS IPython
11 years ago
Min RK
3cf959734d
prevent installation if main.min.js are missing
11 years ago
Min RK
d54d7904ee
trigger `gulp js` as distutils step
...
ensures minified js is installed
11 years ago
Matthias Bussonnier
967d20b87f
fix Jupyter.version patching in JS
11 years ago
Min RK
d71a59cc9f
s/jupyter_notebook/notebook
11 years ago
Min RK
b1562cd21a
properly update package_data after components changes
...
build_py wasn't getting updated,
causing it to leave out components fetched during setup
11 years ago
Min RK
1259a04fc6
Merge pull request #17 from Carreau/gulp-css
...
use gulp to build css
11 years ago
Matthias Bussonnier
824c45f6a2
build sourcemap and tweek setup.py css to use gulp
11 years ago
Min RK
e520a89e54
install mathjax js/css
...
restrict to HTML-CSS + STIX-Web for size
11 years ago
Thomas Kluyver
21e945121c
Need to specify None explicitly for utime on Python 2
11 years ago
Thomas Kluyver
afa7cd9a21
Add comment about origin of which()
11 years ago
Thomas Kluyver
314fcf163f
Include a copy of which() for setup.py
11 years ago
Min RK
f9cb268e0d
add `setup.py js`
...
from JupyterHub
- fetches node tools locally with npm
- runs bower
- setup.py css uses local less as well,
so no need to `npm install -g` anything.
11 years ago
Min RK
b9e241b8c1
remove unused IPython code from setup, setupbase
11 years ago
Min RK
8c683b8a0e
remove nbconvert
11 years ago
Min RK
1c20a2baae
remove ipython_parallel
11 years ago
Min RK
4a97b2a410
jupyter_notebook path in setup base, gitignore
11 years ago
Min RK
a618935010
kernel.resources isn't a package
11 years ago
Min RK
8cc3ebe724
remove nbconvert from package data
11 years ago
Thomas Kluyver
3da1ec7d36
Shim IPython.nbformat so tests pass again
11 years ago
Min RK
62c0ab05b6
remove bundled profiles
...
and move README_STARTUP to core/profile
11 years ago
Thomas Kluyver
54195eaf34
Remove Qt console package_data from setup
...
We should remember this when the ipython_qtconsole package gets its own
setup.
Closes gh-8140
11 years ago
MinRK
f0f9cdf3ae
remove non-setuptools dependency checks
11 years ago
MinRK
3f93c80d7e
remove pexpect from external
...
make it a dependency on non-Windows
11 years ago
MinRK
e34f926e0e
remove appnope from external
...
make it a dependency on OS X
11 years ago
Thomas Kluyver
8c6b5ea4dd
Merge pull request #7632 from minrk/terminado-dep
...
add terminado as [notebook] dep on non-Windows
11 years ago
Min RK
f979c3c48a
add terminado to wheel dependencies
11 years ago
Min RK
01de88687d
verify that `setup.py jsversion` did something
11 years ago
Min RK
67124b4fcc
remove strict arg from css_js_prerelease
11 years ago
Min RK
cb0c95575e
friendlier error messages when invoke/lessc are missing
...
and not needed.
11 years ago
Thomas Kluyver
c1ebfd1f3a
Add kernel resources directory to package_data
12 years ago
Min RK
46f2ebf1de
Remove highlight.js
...
from components and setupbase
12 years ago
Thomas Kluyver
6b85afb077
Add es6-promise to package_data
12 years ago
Thomas Kluyver
b80be59fef
Update some docstrings
12 years ago
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.
12 years ago
MinRK
fd17ea8078
Use Draft4 JSON Schema for v4
12 years ago
Kyle Kelley
1dcf9c325d
Add term.js to package data for installation.
12 years ago
Matthias Bussonnier
d269912958
Merge pull request #6110 from minrk/binarycomm
...
support binary buffers in comm messages
12 years ago
MinRK
41cfd4f5cf
use invoke instead of fabric
...
it's the descendant of the part of fabric we actually use,
it doesn't have complex compiled dependencies like fabric,
and it works on Python 3.
12 years ago
MinRK
ec769b6ef8
install text-encoding polyfill
12 years ago
MinRK
1a4b795870
Use Draft4 JSON Schema for both v3 and v4
...
no longer need jsonpointer
12 years ago
Matthias Bussonnier
be4b180b03
cast unicode to allow json dump
12 years ago
Matthias BUSSONNIER
8b20aee32e
use momentjs for nice dates
12 years ago
Thomas Spura
fadeeb0275
fontawesome-4 renamed font folder to fonts
12 years ago
MinRK
ff98a86f2d
check_call with list, instead of shell=True
12 years ago
MinRK
168d619726
`fab css` checks whether it needs to do anything
...
makefile-style
adds `force` arg to override, minify implies force.
12 years ago
MinRK
b1882ca9e5
add strict arg to css_js setup decorator
...
and attempt to build css on build_by (install)
12 years ago
MinRK
0eae787b58
don’t store minified css in development
...
- setup css defaults to non-minified css
- build minified css and jsversion on sdist/wheel
12 years ago
MinRK
11bcc6e1e5
merge separate input/expected notebooks for execute preprocessor
12 years ago
Julia Evans
06adb299c0
Oops, preprocessor*s*
12 years ago
Julia Evans
4fcf0df53a
Add preprocessor test inputs to find_package_data()
12 years ago
Thomas Kluyver
556257a66b
Fix bootstrap location in package_data
12 years ago
Thomas Kluyver
1e9413a293
Merge pull request #5658 from jhamrick/nbvalidate
...
Improve nbformat json validator
12 years ago
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.
12 years ago
Matthias BUSSONNIER
2d43dcdc7f
mark v3.withref.json as part of package
12 years ago
MinRK
5b75a7992d
remove inappropriate wheel tag override
...
I misunderstood how these tags are interpreted.
We do not want `py2` and `py3`, we want `py27` and `py33`,
which indicate >= matching in the minor version.
This means we should build wheels with the minimum supported Python.
12 years ago
cgohlke
8644bf3d84
Install jquery-ui theme images
12 years ago
cgohlke
248695cb8e
Install ui-bg_glass_75_e6e6e6_1x400.png
12 years ago
MinRK
710818c526
do not install less sources
...
only their css build results are used after install
12 years ago
MinRK
07b8b93e96
install bootstrap-tour css
12 years ago
Thomas Kluyver
80af3b4cfb
Merge pull request #4802 from ivanov/ui-docs
...
Tour of the notebook UI (was UI elements inline with highlighting)
12 years ago
MinRK
3588fe40a9
Merge Security Pull Request: google-caja
...
Adds HTML sanitization.
The basics:
- untrusted HTML is always sanitized, with no warning
(there is console logging for changes made)
- markdown is always treated as untrusted
- no warnings for simply excluded output (e.g. Javascript)
- CSS tags and attributes are always stripped from untrusted HTML
- never check whether HTML is "safe," only sanitize
- add 'Trust notebook' to File menu
12 years ago
Thomas Kluyver
9a87d9a0f2
Fix wheel dependency specification
12 years ago
MinRK
156207ab41
don't forget to install caja
12 years ago
Thomas Kluyver
78943c7258
Add mock to requirements for testing
12 years ago
MinRK
31804fa3cb
install bootstrap-tour component
12 years ago
MinRK
9417c4071d
only depend on readline package in CPython
...
shouldn't try to install it on PyPy
not sure about PyReadline on PyPy on Windows
12 years ago
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.
12 years ago