Skip to content

Commit 55552ce

Browse files
committed
📝 docs: add README
1 parent 5f85d3d commit 55552ce

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# C++ with poetry
2+
3+
## Python Side
4+
5+
首先确保安装 poetry
6+
7+
### Installation
8+
9+
```bash
10+
poetry install # 首先确保 Cython 安装,如果是 Windows 需要自行安装 VS Build Tools
11+
```
12+
13+
### Build and run
14+
15+
```bash
16+
poetry build # 编译构建 C++ 部分
17+
poetry install # 将 C++ 编译结果安装到 Python 代码对应位置
18+
```
19+
20+
## C++ Side
21+
22+
> 未在 Windows 上进行测试
23+
24+
### Build
25+
26+
```bash
27+
make # 编译构建 C++ 部分
28+
```
29+
30+
### run
31+
32+
```bash
33+
make run # 运行 C++ 部分测试代码
34+
```

0 commit comments

Comments
 (0)