From eaa7b500628d4eb791d26c6bb253d0fe6164038c Mon Sep 17 00:00:00 2001 From: liufang Date: Mon, 3 Jun 2024 14:00:30 +0000 Subject: [PATCH] debug: change name to lebai --- cmake/python.cmake | 2 +- doc/changelog.md | 2 +- doc/python.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/python.cmake b/cmake/python.cmake index 9b0616d..498d857 100755 --- a/cmake/python.cmake +++ b/cmake/python.cmake @@ -100,7 +100,7 @@ function(search_python_internal_module) endif() endfunction() -set(PYTHON_PROJECT pylebai) +set(PYTHON_PROJECT lebai) set(PYTHON_PROJECT_DIR ${PROJECT_BINARY_DIR}/python/${PYTHON_PROJECT}) message(STATUS "Python project build path: ${PYTHON_PROJECT_DIR}") diff --git a/doc/changelog.md b/doc/changelog.md index f7a024b..476f2ed 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -2,7 +2,7 @@ ## 1.1.18 -调整python包名字为pylebai。 +尝试调整python包名字。 ## 1.1.17 diff --git a/doc/python.md b/doc/python.md index e058c93..da5f04d 100755 --- a/doc/python.md +++ b/doc/python.md @@ -24,7 +24,7 @@ cmake --build build --target python_package 构建完成后,在`build/python/dist/`目录下会生成python的whl包,可以直接使用pip进行安装。 ```bash -pip3 install build/python/dist/pypylebai-xxx.whl +pip3 install build/python/dist/pylebai-xxx.whl ``` 您可以通过如下命令来查看安装的包的信息。 @@ -44,7 +44,7 @@ sudo pip3 uninstall pylebai 安装完成后可以直接使用lebai包。 ```python -from pylebai import l_master +from lebai import l_master robot = l_master.Robot("172.17.0.5",True) robot.movej({"j1": 1.0,"j2": -1.0471975511965976,"j3": 1.3962634015954636,"j4": -0.17453292519943295,"j5": -1.0471975511965976,"j6": 0.0},1.0,1.0,0.0,0.0) ```