update doc and requirement
This commit is contained in:
parent
68ed843777
commit
ca253dbb77
14
README.md
14
README.md
@ -30,9 +30,9 @@
|
|||||||
- Windows (需要自行安装gmssl的共享库)
|
- Windows (需要自行安装gmssl的共享库)
|
||||||
|
|
||||||
该项目依赖以下软件:
|
该项目依赖以下软件:
|
||||||
python 3.11
|
python 3.12
|
||||||
gmssl
|
gmssl v3.1.1
|
||||||
gmssl-python
|
gmssl-python 2.2.2
|
||||||
|
|
||||||
### Docker 版本安装
|
### Docker 版本安装
|
||||||
|
|
||||||
@ -56,6 +56,14 @@ docker 版本:
|
|||||||
|
|
||||||
本项目依赖gmssl,所以请提前安装好。访问 [GmSSL](https://github.com/guanzhi/GmSSL) 可以看到如何安装。
|
本项目依赖gmssl,所以请提前安装好。访问 [GmSSL](https://github.com/guanzhi/GmSSL) 可以看到如何安装。
|
||||||
|
|
||||||
|
本项目也提供了submodule的方式,可以直接使用
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone --recurse-submodules https://git.mamahaha.work/sangge/tpre-python.git
|
||||||
|
chmod +x install_gmssl.sh
|
||||||
|
./install_docker.sh
|
||||||
|
```
|
||||||
|
|
||||||
然后安装必要的python库
|
然后安装必要的python库
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -30,9 +30,9 @@ System requirements:
|
|||||||
|
|
||||||
The project relies on the following software:
|
The project relies on the following software:
|
||||||
|
|
||||||
- Python 3.11
|
- Python 3.12
|
||||||
- gmssl
|
- gmssl v3.1.1
|
||||||
- gmssl-python
|
- gmssl-python 2.2.2
|
||||||
|
|
||||||
### Docker installer
|
### Docker installer
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ mkdir include
|
|||||||
cp gmssl/include include
|
cp gmssl/include include
|
||||||
|
|
||||||
mkdir gmssl/build
|
mkdir gmssl/build
|
||||||
cd gmssl/build
|
cd gmssl/build || exit
|
||||||
cmake ..
|
cmake ..
|
||||||
make
|
sudo make install
|
||||||
cp bin/lib* ../../lib
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
gmssl-python
|
gmssl-python>=2.2.2,<3.0.0
|
||||||
fastapi
|
fastapi
|
||||||
uvicorn
|
uvicorn
|
||||||
requests
|
requests
|
Loading…
x
Reference in New Issue
Block a user