Skip to content

Commit 5cbc49d

Browse files
authored
DOC: document conda-forge support (#12)
1 parent 467e8d6 commit 5cbc49d

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

docs/index.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,25 @@ themselves.
2828
python -m pip install array-api-extra
2929
```
3030

31-
(vendoring)=
31+
And
32+
[on conda-forge](https://prefix.dev/channels/conda-forge/packages/array-api-extra):
3233

33-
## Vendoring
34+
```shell
35+
micromamba install -c https://repo.prefix.dev/conda-forge array-api-extra
36+
# or
37+
pixi add array-api-extra
38+
```
3439

3540
```{warning}
3641
This library currently provides no backwards-compatibility guarantees!
37-
If you require stability, it is recommended to vendor this library inside your own.
42+
If you require stability, it is recommended to pin `array-api-extra` to
43+
a specific version, or vendor the library inside your own.
3844
```
3945

46+
(vendoring)=
47+
48+
## Vendoring
49+
4050
To vendor the library, clone
4151
[the repository](https://github.com/data-apis/array-api-extra) and copy
4252
`array_api_extra` into the appropriate place in your library, like:
@@ -52,7 +62,7 @@ cp -R array-api-extra/ mylib/vendored/array_api_extra
5262
Typical usage of this library looks like:
5363

5464
```python
55-
import array_api_strict as xpx
65+
import array_api_extra as xpx
5666

5767
...
5868
xp = array_namespace(x)

0 commit comments

Comments
 (0)