Mercurial > kallithea
annotate package.json @ 7369:cc2f0cfd7867
ishell: specify ipython minimum version 4
`gearbox ishell` has an "optional" dependency on ipython as it fails with:
Kallithea ishell requires the IPython Python package
Before the previous change, after installing ipython < 4, it would however
still fail the same way.
With the previous change, it would fail in a slightly more helpful way with:
ImportError: No module named traitlets.config.loader
With ipython < 4, after installing the missing traitlets (4.3.2) as hinted,
ishell still failed with:
TraitError: The 'config' trait of an InteractiveShellEmbed instance must be a Config or None, but a value of class 'traitlets.config.loader.Config' (i.e. {'InteractiveShellEmbed': {'confirm_exit': False}}) was specified.
With ipython >= 4, traitlets is installed as dependency, and ishell works.
Tested with both ipython 4.0 and current latest version 5.8 .
Thus, just clarify that we only support ipython >= 4 .
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 01 Sep 2018 02:08:15 +0200 |
parents | 6c3bb9a845d7 |
children | b66725ba01ed |
rev | line source |
---|---|
6953
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
1 { |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
2 "name": "kallithea", |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
3 "private": true, |
7057
a9cbc30e19fa
less: build custom Bootstrap from bootstrap.less instead of using plain upstream version
domruf <dominikruf@gmail.com>
parents:
7056
diff
changeset
|
4 "dependencies": { |
a9cbc30e19fa
less: build custom Bootstrap from bootstrap.less instead of using plain upstream version
domruf <dominikruf@gmail.com>
parents:
7056
diff
changeset
|
5 "bootstrap": "3.3.7" |
a9cbc30e19fa
less: build custom Bootstrap from bootstrap.less instead of using plain upstream version
domruf <dominikruf@gmail.com>
parents:
7056
diff
changeset
|
6 }, |
6953
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
7 "devDependencies": { |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
8 "less": "~2.7", |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
9 "less-plugin-clean-css": "~1.5" |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
10 }, |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
11 "scripts": { |
7245
6c3bb9a845d7
less: generate map files when building style.css with 'npm run less'
domruf <dominikruf@gmail.com>
parents:
7099
diff
changeset
|
12 "less": "lessc --relative-urls --source-map --source-map-less-inline kallithea/public/less/main.less kallithea/public/css/style.css" |
6953
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
13 } |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
14 } |