Commit Graph

14 Commits

Author SHA1 Message Date
Min RK
07b1e77d3b path.sep 2015-01-09 14:18:31 -08:00
Min RK
9a1dba2c14 remove duplicate arg conflict check 2015-01-09 14:15:32 -08:00
Min RK
cebf80d881 s/nbextensions/nbextensions_dir
make it clearer from name that arg refers to dir
2015-01-09 14:15:32 -08:00
Min RK
f3da69c38d allow system-wide paths for nbextensions
like kernel specs, default install is `/usr/local/share/jupyter/nbextensions`

add `--user` for .ipython/nbextensions path
2015-01-09 14:15:31 -08:00
Jason Grout
5a39c0c9bd Use os.remove instead of shutil.rmtree if we try to remove a symbolic link
If we try to remove a symbolic link to a directory with shutil.rmtree, we get
the error “Cannot call rmtree on a symbolic link”
2014-11-19 04:46:13 -05:00
Thomas Kluyver
5f456ef438 Document limitations of symlink parameter to install_nbextension
Closes gh-6239
2014-11-07 10:48:06 -08:00
MinRK
934e731237 add utils.path.ensure_dir_exists
Ensures that a directory exists,
and protects against a common race condition when multiple
processes try to create the same directory.
2014-04-29 10:18:36 -07:00
MinRK
e903297a15 clarify with all in check_nbextension 2014-02-13 19:38:16 -08:00
MinRK
475ac234b4 typo 2014-02-13 19:37:57 -08:00
MinRK
b413efd397 add check_nbextension 2014-02-08 21:32:30 -08:00
MinRK
68c91ffc88 allow installing nbextensions with symlinks 2014-02-08 21:32:30 -08:00
MinRK
f3664e1beb support URLs and zip/tarballs in install_extension 2014-02-08 20:08:15 -08:00
MinRK
a8b7b853a2 add ipython install-nbextension entrypoint 2014-02-08 20:03:33 -08:00
MinRK
704b349302 add IPython.html.nbextensions.install_nbextension
for installing files into IPYTHONDIR/nbextensions
2014-02-08 20:02:56 -08:00