DOC Adding pip install instruction in the docs for pyodide-build [skip ci](#1845)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Sylvain Riondet <sylvain.riondet@emailtree.ai>
This commit is contained in:
Sylvain 2021-09-16 22:16:07 +02:00 committed by GitHub
parent 96d3b9a1ac
commit f03db870a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -29,6 +29,10 @@ Additional build prerequisites are:
- [f2c](http://www.netlib.org/f2c/)
- [ccache](https://ccache.samba.org) (optional) _highly_ recommended for much faster rebuilds.
You can install the python dependencies from the requirement file at the root of pyodide folder:
`pip install -r requirements.txt`
On Mac, you will also need:
- [Homebrew](https://brew.sh/) for installing dependencies

View File

@ -40,11 +40,12 @@ To determine if a package has C extensions, check if its `setup.py` contains
any compilation commands.
```
### 2. Creating the meta.yaml
### 2. Creating the `meta.yaml` file
If your package is on PyPI, the
easiest place to start is with the {ref}`mkpkg tool <pyodide-mkpkg>`.
From the Pyodide root directory, install the tool with `pip install -e pyodide-build`, then run:
Once you determined that you need to create a new package for Pyodide, the
easiest place to start is with the {ref}`mkpkg tool <pyodide-mkpkg>`. If your
package is on PyPI, run:
`pyodide-build mkpkg <package-name>`