wai-quantum for Python: installed from the Python Package Index #535
2 changed files with 18 additions and 6 deletions
|
|
@ -9,11 +9,17 @@ WAI Quantum from Python and notebooks, in-process. The package carries the WAI Q
|
|||
|
||||
## Install
|
||||
|
||||
The package is **not on a public package index yet**. Install a wheel built from this repository, or one attached to a `wai-quantum-cli-v<version>` release on the forge. One wheel per platform serves every Python from 3.9 on (the stable ABI, `abi3`): macOS arm64 and x86_64, Linux x86_64 and arm64 (manylinux 2.17), Windows x86_64.
|
||||
From the Python Package Index. One wheel per platform serves every Python from 3.9 on (the stable ABI, `abi3`): macOS arm64 and x86_64, Linux x86_64 and arm64 (manylinux 2.17), Windows x86_64.
|
||||
|
||||
```sh norun=install
|
||||
pip install wai_quantum-0.1.0-cp39-abi3-<platform>.whl # the engine and the service client: no other dependency
|
||||
pip install "wai_quantum-0.1.0-cp39-abi3-<platform>.whl[widgets]" # and the notebook widgets (anywidget)
|
||||
pip install wai-quantum # the engine and the service client: no other dependency
|
||||
pip install "wai-quantum[widgets]" # and the notebook widgets (anywidget)
|
||||
```
|
||||
|
||||
The same wheels are attached, each with its SHA-256, to the `wai-quantum-cli-v<version>` release on the forge that carries them:
|
||||
|
||||
```sh norun=install
|
||||
pip install wai_quantum-0.1.0-cp39-abi3-<platform>.whl
|
||||
```
|
||||
|
||||
To build the wheel yourself, with Rust 1.98 and maturin 1.15.0:
|
||||
|
|
|
|||
|
|
@ -13,11 +13,17 @@
|
|||
|
||||
## 安装
|
||||
|
||||
这个包**尚未发布到公共包索引**。请安装从本仓库构建的 wheel,或者代码托管平台(forge)上 `wai-quantum-cli-v<version>` 发布版所附的 wheel。每个平台一个 wheel,适用于 3.9 及以后的所有 Python 版本(稳定 ABI,`abi3`):macOS arm64 和 x86_64、Linux x86_64 和 arm64(manylinux 2.17)、Windows x86_64。
|
||||
从 Python 包索引安装。每个平台一个 wheel,适用于 3.9 及以后的所有 Python 版本(稳定 ABI,`abi3`):macOS arm64 和 x86_64、Linux x86_64 和 arm64(manylinux 2.17)、Windows x86_64。
|
||||
|
||||
```sh norun=install
|
||||
pip install wai_quantum-0.1.0-cp39-abi3-<platform>.whl # 引擎和作业服务客户端:没有其他依赖
|
||||
pip install "wai_quantum-0.1.0-cp39-abi3-<platform>.whl[widgets]" # 另加笔记本小组件(anywidget)
|
||||
pip install wai-quantum # 引擎和作业服务客户端:没有其他依赖
|
||||
pip install "wai-quantum[widgets]" # 另加笔记本小组件(anywidget)
|
||||
```
|
||||
|
||||
同样的 wheel 也附在代码托管平台(forge)上包含它们的 `wai-quantum-cli-v<version>` 发布版中,每个都附有 SHA-256:
|
||||
|
||||
```sh norun=install
|
||||
pip install wai_quantum-0.1.0-cp39-abi3-<platform>.whl
|
||||
```
|
||||
|
||||
要自己构建 wheel,需要 Rust 1.98 和 maturin 1.15.0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue