mirror of https://github.com/pyodide/pyodide.git
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:
parent
96d3b9a1ac
commit
f03db870a2
|
@ -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
|
||||
|
|
|
@ -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>`
|
||||
|
||||
|
|
Loading…
Reference in New Issue