40 lines
760 B
Markdown
40 lines
760 B
Markdown
|
# IPython Kernel for Jupyter
|
||
|
|
||
|
This package provides the IPython kernel for Jupyter.
|
||
|
|
||
|
## Installation from source
|
||
|
|
||
|
1. `git clone`
|
||
|
2. `cd ipykernel`
|
||
|
3. `pip install -e .`
|
||
|
|
||
|
After that, all normal `ipython` commands will use this newly-installed version of the kernel.
|
||
|
|
||
|
## Running tests
|
||
|
|
||
|
Ensure you have `nosetests` and the `nose-warnings-filters` plugin installed with
|
||
|
|
||
|
```bash
|
||
|
pip install nose nose-warnings-filters
|
||
|
```
|
||
|
|
||
|
and then from the root directory
|
||
|
|
||
|
```bash
|
||
|
nosetests ipykernel
|
||
|
```
|
||
|
|
||
|
## Running tests with coverage
|
||
|
|
||
|
Follow the instructions from `Running tests`. Ensure you have the `coverage` module installed with
|
||
|
|
||
|
```bash
|
||
|
pip install coverage
|
||
|
```
|
||
|
|
||
|
and then from the root directory
|
||
|
|
||
|
```bash
|
||
|
nosetests --with-coverage --cover-package ipykernel ipykernel
|
||
|
```
|