diff --git a/packages/labextension/README.md b/packages/labextension/README.md index 016c72ebf..ffe072be2 100644 --- a/packages/labextension/README.md +++ b/packages/labextension/README.md @@ -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 diff --git a/packages/labextension/jupyterlab-jupytext-0.19.0.tgz b/packages/labextension/jupyterlab-jupytext-0.19.0.tgz new file mode 100644 index 000000000..16ccf217f Binary files /dev/null and b/packages/labextension/jupyterlab-jupytext-0.19.0.tgz differ diff --git a/packages/labextension/package.json b/packages/labextension/package.json index 1c0d76aa0..d5150d01d 100644 --- a/packages/labextension/package.json +++ b/packages/labextension/package.json @@ -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", @@ -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", @@ -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", diff --git a/setup.py b/setup.py index 147b7785a..acef786be 100644 --- a/setup.py +++ b/setup.py @@ -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'],