Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conf.d #39

Merged
merged 4 commits into from
Jan 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ To install the server extension, run the following in your terminal:
pip install jupyterlab_latex
```

If you are running Notebook 5.2 or earlier, enable the server extension by running
```bash
jupyter serverextension enable --sys-prefix jupyterlab_latex
```

To install the lab extension, run
```bash
jupyter labextension install jupyterlab-latex
Expand All @@ -38,10 +43,14 @@ You can also install from source in order to develop the extension.
From the `jupyterlab-latex` directory, enter the following into your terminal:
```bash
pip install .
jupyter serverextension enable jupyterlab_latex
```
This installs the server extension.

If you are running Notebook 5.2 or earlier, enable the server extension by running
```bash
jupyter serverextension enable --sys-prefix jupyterlab_latex
```

Then, to install the lab extension, run
```bash
jlpm install
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"NotebookApp": {
"nbserver_extensions": {
"jupyterlab_latex": true
}
}
}
18 changes: 13 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,23 @@
from __future__ import print_function

import setuptools
from setupbase import ensure_python
from setupbase import (
create_cmdclass, ensure_python, find_packages
)

data_files_spec = [(
'etc/jupyter/jupyter_notebook_config.d',
'jupyter-config/jupyter_notebook_config.d',
'jupyterlab_latex.json'
),]

cmdclass = create_cmdclass(data_files_spec=data_files_spec)

setup_dict = dict(
name='jupyterlab_latex',
description='A Jupyter Notebook server extension which acts as an endpoint for LaTeX.',
packages=setuptools.find_packages(),
packages=find_packages(),
cmdclass=cmdclass,
author = 'Jupyter Development Team',
author_email = 'jupyter@googlegroups.com',
url = 'http://jupyter.org',
Expand Down Expand Up @@ -42,9 +53,6 @@

from jupyterlab_latex import __version__




setuptools.setup(
version=__version__,
**setup_dict
Expand Down