1+ # Developer Guide (How to build Perspective from this repo)
2+
13This guide will teach you everything you need to know to get started hacking on
24the Perspective codebase. Please see [ ` CONTRIBUTING.md ` ] ( CONTRIBUTING.md ) for
35contribution guidelines.
@@ -13,9 +15,9 @@ Perspective is organized as a
1315and uses [ lerna] ( https://lernajs.io/ ) to manage dependencies.
1416
1517This guide provides instructions for both the JavaScript and Python libraries.
16- To switch your development toolchain between the two, use ` yarn setup` . Once the
17- setup script has been run, common commands like ` yarn build` and ` yarn test `
18- automatically call the correct build and test tools.
18+ To switch your development toolchain between the two, use ` pnpm run setup` . Once
19+ the setup script has been run, common commands like ` pnpm run build` and
20+ ` pnpm run test ` automatically call the correct build and test tools.
1921
2022### System Dependencies
2123
@@ -64,7 +66,7 @@ required.
6466
6567` Perspective.js ` specifies its Emscripten version dependency in ` package.json ` ,
6668and the correct version of Emscripten will be installed with other JS
67- dependencies by running ` yarn ` .
69+ dependencies by running ` pnpm install ` .
6870
6971#### Building via local EMSDK
7072
@@ -93,14 +95,14 @@ To install a specific version of Emscripten (e.g. `2.0.6`):
9395## ` perspective-python `
9496
9597To build the Python library, first configure your project to build Python via
96- ` yarn setup` . Then, install the requirements corresponding to your version of
97- python, e.g.
98+ ` pnpm run setup` . Then, install the requirements corresponding to your version
99+ of python, e.g.
98100
99101``` bash
100102pip install -r rust/perspective-python/requirements.txt
101103```
102104
103- ` perspective-python ` supports Python 3.8 and upwards.
105+ ` perspective-python ` supports Python 3.11 and upwards.
104106
105107### ` perspective-jupyterlab `
106108
@@ -150,10 +152,10 @@ PATH=$(brew --prefix llvm@17)/bin:$PATH
150152building if you have ` brew ` -installed versions of libraries, such as
151153` flatbuffers ` .
152154
153- ### Windows 10
155+ ### Windows 10+
154156
155157You need to use bash in order to build Perspective packages. To successfully
156- build on Windows 10, enable
158+ build on Windows 10+ , enable
157159[ Windows Subsystem for Linux] ( https://docs.microsoft.com/en-us/windows/wsl/install-win10 )
158160(WSL) and install the Linux distribution of your choice.
159161
0 commit comments