Эх сурвалжийг харах

新增本库的开发工具、构建工具说明

mrh 1 жил өмнө
parent
commit
852d6ca223
1 өөрчлөгдсөн 5 нэмэгдсэн , 1 устгасан
  1. 5 1
      README.md

+ 5 - 1
README.md

@@ -310,13 +310,17 @@ For downstream applications, please refer to our document about [API Details](./
 </a>
 
 ### Development
+根据 pyproject.toml 字段 [build-system] 得知,作者是用 hatch 开发本项目, https://github.com/pypa/hatch 
+
+不过为了使用习惯,我使用 poetry 开发本项目。
 ```shell
 # 安装 python 环境
 pyenv install 3.12.0
 # 或者使用 mamba 安装
 mamba create -n pdf python=3.12 -y
 mamba activate pdf
-# 如果系统没有 poetry ,请先安装 poetry
+# 如果系统没有 poetry ,请先安装 poetry 。推荐全局安装 https://python-poetry.org/docs/#installing-with-the-official-installer
+# 或者使用 pip 安装,仅在当前环境生效
 pip install poetry
 # 根据 pyproject.toml 安装依赖
 poetry install