File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 2929``` shell
3030git clone https://github.com/microsoft/vscode-jupyter
3131cd vscode-jupyter
32+
33+ ```
34+
35+ On Apple Silicon, you will have to use system versions of ` libsodium ` and ` libzmq ` instead of the bundled ones:
36+
37+ ``` shell
38+ brew update
39+ brew install cmake pkg-config libsodium zeromq
40+
41+ export CMAKE_POLICY_VERSION_MINIMUM=3.5
42+ export PKG_CONFIG_PATH=" $( brew --prefix) /lib/pkgconfig"
43+ export CPPFLAGS=" -I$( brew --prefix libsodium) /include -I$( brew --prefix zeromq) /include"
44+ export LDFLAGS=" -L$( brew --prefix libsodium) /lib -L$( brew --prefix zeromq) /lib"
45+
46+ npm_config_build_from_source=true npm install zeromq@^6.0.0-beta.16
47+
48+ ```
49+
50+ Install the dependecies:
51+
52+ ``` shell
3253npm ci
3354# Run this to setup the necessary pre-commit hooks.
3455npm run setup-precommit-hook
@@ -39,6 +60,7 @@ source .venv/bin/activate
3960.venv\S cripts\a ctivate
4061# The Python code in the extension is formatted using Black.
4162python -m pip install black
63+
4264```
4365
4466### Incremental Build
@@ -49,6 +71,7 @@ You can also compile from the command-line. For a full compile you can use:
4971
5072``` shell
5173npm run compile
74+
5275```
5376
5477For incremental builds it is recommended you use the ` watch ` build task (for better integration with VS Code).
You can’t perform that action at this time.
0 commit comments