mirror of
https://github.com/openharmony/interface_sdk_c.git
synced 2026-08-24 14:32:50 -04:00
167d997c86
Merge pull request !65 from 王曹宇/feature_check_doc
1.使用该工具前需要修改constants.py 文件下的StringConstant.LIB_CLG_PATH、StringConstant.REPLACE_WAREHOUSE、StringConstant.INCLUDE_LIB; StringConstant.LIB_CLG_PATH:共享库(本地的) REPLACE_WAREHOUSE:拉下来的interface_sdk_c仓的目录(本地的路径) --例如:(去掉磁盘的路径)\interface_sdk_c StringConstant.INCLUDE_LIB:# 拉到本地仓的三方库路径
2.环境: 1)python-3.11.4-amd64
2)PyCharm Community Edition 2023.2
3)下载requirements.txt下面的库 ---下载指令:pip install -r txt文件路径
4)需要把src目录设置为sources root(找到src目录,点击右键,将目标标记为里面)
5)在interface_sdk_c目录下运行的是src目录下的mian.py文件
3.终端指令 options: -h, --help show this help message and exit -N {collect,diff}, --tool-name {collect,diff} 工具名称 -P PARSER_PATH, --parser-path PARSER_PATH 解析路径
例如:用的统计工具:终端指令:py -N collect -P 目录文件路径 ---就是调用CAPI统计工具的使用