Commit Graph

254 Commits

Author SHA1 Message Date
Steven Silvester
d09cc9f5ed Remove unused setup command 2016-02-25 09:39:58 -06:00
Steven Silvester
317f102663 Fix setupbase and update to latest plugins 2016-02-25 09:12:55 -06:00
Steven Silvester
e663bc3156 Add a jupyter lab page
wip add lab page

Add missing source files

Remove unused typings

Clean up tsconfig

No typings are required

Add typescript to dev dependencies

Switch to a JS-only build

Remove unused config file

Remove unused test and cleanup handlers

Update the setup file to build the lab

Use new application plugin from js-plugins

Remove whitespace changes

Bump plugins version

Update to latest plugins

Update to latest plugins

Update to latest jupyter-js-plugins and add files to manifest

Work around bug in css-loader

Update plugins and fix webpack warning

Update lab version

Fix static directory path

Bump plugins version

Add the try jupyter link

Bump dependencies

Back out whitespace changes

Update plugins version

Update dependencies

Update the bootstrap file

Use a standalone template for the lab page
2016-02-25 09:09:05 -06:00
Min RK
70367e77e3 remove unused force option from js dependencies 2016-02-24 16:05:09 +01:00
Min RK
67b54ffbec clarify jsdeps command description
it's js dependencies (both build and run)
2016-02-24 16:02:50 +01:00
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
2016-02-24 16:00:39 +01:00
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
2016-02-24 16:00:39 +01:00
Min RK
a1458ce8fc Merge pull request #1047 from jdfreder/webpack
use webpack
2016-02-24 08:52:35 +01:00
Jonathan Frederic
252b0fcefb Update setupbase to match build output 2016-02-22 07:41:02 -08:00
Jonathan Frederic
b0fb5df3ad Add source maps, chunks, and remove previous build tool 2016-02-22 07:30:56 -08:00
Jonathan Frederic
c3e4def82c Add JS building step to setupbase 2016-02-22 07:30:56 -08:00
Min RK
b0772dd3c7 include SVG mathjax output
we now ship all mathjax output formats

We still strip down to a single font (STIX-Web)
2016-02-22 11:24:09 +01:00
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`.
2016-02-22 10:04:17 +01:00
Diego Mesa
482ed8a5a3 updating log.warn to log.warning 2016-02-12 13:53:21 -08:00
Min RK
bb6368a545 package data may be computed prior to components being fetched
trust that it will be re-run after npm/bower
2016-02-06 21:14:13 +01:00
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.
2016-02-06 20:49:11 +01:00
Matthias Bussonnier
3f921ff4d9 Simplify how to pass noprogress 2016-01-26 15:10:37 -08:00
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
2016-01-26 14:59:58 -08:00
Jonathan Frederic
e9406edc2d Merge pull request #550 from minrk/shell-only-windows
fix subcommand quoting on Windows in setup.py
2015-10-12 14:17:38 -07:00
Min RK
95f12eb620 include typeahead with installation 2015-10-09 14:23:37 +02:00
Min RK
dd6211f42e fix subcommand running on Windows 2015-10-08 11:35:35 +02:00
Min RK
f175b2391a shell=True wants a string cmd 2015-09-07 12:12:24 +02:00
Min RK
f1396457fb run commands with shell=True
appears to be needed on Windows,
and should be harmless elsewhere.
2015-09-07 12:11:45 +02:00
Matthias Bussonnier
2d5d548d79 Revert "Use NPM, node ES5, and browserify." 2015-08-27 09:00:15 +02:00
Steven Silvester
307d9ee49c Include components in setup base 2015-08-26 14:11:27 -07:00
Jonathan Frederic
b689700910 Only build once, via npm postinstall 2015-08-26 14:06:14 -07:00
Jonathan Frederic
b2bf69f6d7 fix jsversion command 2015-08-26 14:06:11 -07:00
Jonathan Frederic
a719e19b39 Add script to amd-ify the commonjs code,
(backwards compat. and dynamic loading)
2015-08-26 14:06:11 -07:00
Jonathan Frederic
72bdf877fd Fix package check 2015-08-26 14:06:10 -07:00
Kyle Kelley
8f0ea42dd4 Allow for graceful failure by finishing string. ;) 2015-08-26 14:05:14 -07:00
jdfreder
b88fa0163a Use npm for js and less builds 2015-08-26 14:05:14 -07:00
Matthias Bussonnier
80f20cb1d6 include mathjax extensions that are dynamically loaded
Allow to render binomial and other things:

Closes ipython/ipython#8754
2015-08-24 16:13:43 +02:00
Min RK
dee660757d install mathjax safe extension 2015-08-20 21:10:20 -07:00
Min RK
659e1df77e install MathJax safe config
MathJax safe mode is enabled, but a full (non-dev) install omits the Safe.js config file
2015-08-19 22:01:39 -07:00
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
2015-07-26 12:27:24 -07:00
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`
2015-07-21 16:34:44 -07:00
Jonathan Frederic
5c18ecb151 Merge pull request #102 from Carreau/no-global
Start working on removing global JS IPython
2015-06-01 13:20:50 -07:00
Min RK
3cf959734d prevent installation if main.min.js are missing 2015-05-22 16:07:03 -07:00
Min RK
d54d7904ee trigger gulp js as distutils step
ensures minified js is installed
2015-05-22 16:07:03 -07:00
Matthias Bussonnier
967d20b87f fix Jupyter.version patching in JS 2015-05-21 10:07:57 -04:00
Min RK
d71a59cc9f s/jupyter_notebook/notebook 2015-05-14 10:49:28 -07:00
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
2015-04-22 16:19:13 -07:00
Min RK
1259a04fc6 Merge pull request #17 from Carreau/gulp-css
use gulp to build css
2015-04-21 15:37:14 -07:00
Matthias Bussonnier
824c45f6a2 build sourcemap and tweek setup.py css to use gulp 2015-04-21 15:37:14 -07:00
Min RK
e520a89e54 install mathjax js/css
restrict to HTML-CSS + STIX-Web for size
2015-04-21 15:37:12 -07:00
Thomas Kluyver
21e945121c Need to specify None explicitly for utime on Python 2 2015-04-21 15:37:10 -07:00
Thomas Kluyver
afa7cd9a21 Add comment about origin of which() 2015-04-21 15:37:09 -07:00
Thomas Kluyver
314fcf163f Include a copy of which() for setup.py 2015-04-21 15:37:09 -07:00
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.
2015-04-21 15:37:09 -07:00
Min RK
b9e241b8c1 remove unused IPython code from setup, setupbase 2015-04-21 15:37:06 -07:00