Skip to content

Commit 4d82c0f

Browse files
committed
Add Pyodide/WASM installation links to README and docs landing page
Addresses lucianopaz's feedback: make WASM installation instructions discoverable from the README and docs index, not just install.rst.
1 parent fd65206 commit 4d82c0f

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ The current development branch of |Project Name| can be installed from GitHub, a
115115
pip install git+https://github.com/pymc-devs/pytensor
116116

117117

118+
For browser-based Python environments (Pyodide/JupyterLite), see the `Pyodide installation instructions <https://pytensor.readthedocs.io/en/latest/install.html>`__.
119+
120+
118121
Background
119122
==========
120123

doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ directory, so that when you pull updates via Git, they will be
4141
automatically reflected the "installed" version. For more information about
4242
installation and configuration, see :ref:`installing PyTensor <install>`.
4343

44+
For browser-based Python environments (Pyodide/JupyterLite), see :ref:`the Pyodide installation section <install-pyodide>`.
45+
4446
.. _available on PyPI: http://pypi.python.org/pypi/pytensor
4547
.. _Related Projects: https://github.com/pymc-devs/pytensor/wiki/Related-projects
4648

doc/install.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ To use the Numba and JAX backend you will need to install these libraries in add
3131
Installing on Pyodide (WebAssembly)
3232
-----------------------------------
3333

34+
.. _install-pyodide:
35+
3436
PyTensor can be used in browser-based Python environments via `Pyodide <https://pyodide.org/>`__, such as `JupyterLite <https://jupyterlite.readthedocs.io/>`__.
3537

3638
PyPI does not yet accept WebAssembly wheels, so you'll need to install from a GitHub Release:

0 commit comments

Comments
 (0)