📝 Update PGA docs

This commit is contained in:
omg-xtao 2023-12-03 14:27:14 +00:00 committed by GitHub
parent 66114c036b
commit 983695c8eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 5 deletions

View File

@ -36,10 +36,10 @@ export default {
],
},
{
text: '🪚 PGA 介绍',
text: '🪚 扩展介绍',
collapsed: true,
items: [
{ text: '编译及安装', link: '/pga/build' },
{ text: 'PGA 编译及安装', link: '/extra/pga' },
],
},
],

View File

@ -15,5 +15,6 @@
"xr1s",
"Nene07210721",
"hakureiyuyuko",
"AnotiaWang"
"AnotiaWang",
"LeiShi1313"
]

View File

@ -11,8 +11,15 @@ PGA 主要依赖 Rust 以及 PyO3 实现与 `genshin_artifact` 的对接:
- [PyO3](https://github.com/PyO3/pyo3)
- [Python 3.8+](https://www.python.org/)
## PYPI 安装
## 编译/安装
[python-genshin-artifact](https://pypi.org/project/python-genshin-artifact/)
```
pip install python-genshin-artifact
```
## 编译安装
1. 克隆项目
@ -52,7 +59,7 @@ PGA 主要依赖 Rust 以及 PyO3 实现与 `genshin_artifact` 的对接:
```
## 编译 wheel
### 编译 wheel
如果需要导出给其它项目测试或使用(例如 PaiGram需要通过 `maturin` 将模块编译成 `.whl` 格式以便其它 Python 虚拟环境安装。