You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**NOTE** : `BlocklyNiryo` is defined in `niryo-one-python-generators.ts`.
112
112
113
113
114
-
## Include patches
115
-
Currently, for the extension to work, you will need to include the following patch from the JupyterLab-Blockly extension (make sure it is placed in a file named `@jupyterlab+codeeditor+3.4.3.patch`, inside the `patches` folder):
You will also need to modify the `MANIFEST.in` file:
136
-
```
137
-
recursive-include patches *.patch
138
-
```
139
-
the `package.json` file:
140
-
```
141
-
"scripts": {
142
-
...
143
-
"postinstall": "patch-package"
144
-
}
145
-
````
146
-
and, finally, add `patch-package` as a dependency:
147
-
```
148
-
jlpm add patch-package
149
-
```
150
-
151
114
## Additional configurations
152
115
153
116
You will need to request the `jupyterlab-blockly` package as a dependency of your extension, in order to ensure it is installed and available to provide the token `IBlocklyRegistry`. To do this, you need to add the following line to your `setup.py` file.
@@ -157,7 +120,7 @@ You will need to request the `jupyterlab-blockly` package as a dependency of you
0 commit comments