Skip to content

Commit

Permalink
Version 0.19.0 of the extension for JLab compatible with JLab 0.35
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Jul 6, 2019
1 parent eb4ed09 commit c9c5652
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
10 changes: 8 additions & 2 deletions packages/labextension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ This extension adds a few [Jupytext](https://github.com/mwouts/jupytext) command

## Installation

Please [install Jupytext](https://github.com/mwouts/jupytext/blob/master/README.md#installation) first. Make sure Jupyter is configured to use Jupytext's contents manager. Then, install the extension with:
Please [install Jupytext](https://github.com/mwouts/jupytext/blob/master/README.md#installation) first. Then, rebuild JupyterLab with

```bash
jupyter labextension install jupyterlab-jupytext
jupyter lab build
```

In case you're not using JupyterLab 1.0, you may have to install another version of the extension that is compatible with your version. For instance, install the last version of the extension compatible with Jupyter 0.35 with

```bash
jupyter labextension install jupyterlab-jupytext@0.19
```

# How to develop this extension
Expand Down
Binary file not shown.
15 changes: 8 additions & 7 deletions packages/labextension/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "jupyterlab-jupytext",
"version": "0.2.0",
"version": "0.19.0",
"description": "A JupyterLab extension for Jupytext",
"keywords": [
"jupyter",
"jupytext",
"jupyterlab",
"jupyterlab-extension"
],
"homepage": "https://github.com/mwouts/jupyterlab-jupytext",
"homepage": "https://github.com/mwouts/jupytext/tree/master/packages/labextension",
"bugs": {
"url": "https://github.com/mwouts/jupyterlab-jupytext/issues"
"url": "https://github.com/mwouts/jupytext/issues"
},
"license": "MIT",
"author": "Marc Wouts",
Expand All @@ -21,7 +22,7 @@
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/mwouts/jupyterlab-jupytext.git"
"url": "https://github.com/mwouts/jupytext.git"
},
"scripts": {
"build": "tsc",
Expand All @@ -30,9 +31,9 @@
"watch": "tsc -w"
},
"dependencies": {
"@jupyterlab/application": ">=0.16",
"@jupyterlab/apputils": ">=0.16",
"@jupyterlab/notebook": ">=0.16"
"@jupyterlab/application": "^0.19",
"@jupyterlab/apputils": "^0.19",
"@jupyterlab/notebook": "^0.19"
},
"devDependencies": {
"rimraf": "^2.6.1",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
'jupytext/nbextension/jupytext_menu.png',
'jupytext/nbextension/jupytext_menu_zoom.png',
'jupytext/nbextension/jupytext.yml']),
('share/jupyter/lab/extensions', ['packages/labextension/jupyterlab-jupytext-0.2.0.tgz'])],
('share/jupyter/lab/extensions', ['packages/labextension/jupyterlab-jupytext-0.19.0.tgz'])],
entry_points={'console_scripts': ['jupytext = jupytext.cli:jupytext_cli']},
tests_require=['pytest'],
install_requires=['nbformat>=4.0.0', 'mock', 'pyyaml', 'testfixtures'],
Expand Down

0 comments on commit c9c5652

Please sign in to comment.