diff --git a/.github/workflows/linux_python_release.yml b/.github/workflows/linux_python_release.yml index fd98eb6..68dd741 100644 --- a/.github/workflows/linux_python_release.yml +++ b/.github/workflows/linux_python_release.yml @@ -41,4 +41,4 @@ jobs: done; - name: upload Pypi - run: /opt/python/cp310-cp310/bin/twine upload --skip-existing -u __token__ -p ${{ secrets.PYLEBAI }} wheelhouse/*.whl + run: /opt/python/cp310-cp310/bin/twine upload --skip-existing -u __token__ -p ${{ secrets.PYLEBAI2024 }} wheelhouse/*.whl diff --git a/.github/workflows/windows_python_release.yml b/.github/workflows/windows_python_release.yml index e4e10dc..d02a3fb 100644 --- a/.github/workflows/windows_python_release.yml +++ b/.github/workflows/windows_python_release.yml @@ -107,7 +107,7 @@ jobs: - name: CMake build run: cmake --build build --config release - name: Upload Pypi - run: twine upload --skip-existing -u __token__ -p ${{ secrets.PYLEBAI }} build/python/dist/*.whl + run: twine upload --skip-existing -u __token__ -p ${{ secrets.PYLEBAI2024 }} build/python/dist/*.whl # pypy3.8 # - name: Publish package diff --git a/CMakeLists.txt b/CMakeLists.txt index e644147..fa3b5df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,12 +6,12 @@ if (POLICY CMP0135) cmake_policy(SET CMP0135 NEW) endif() +project(lebai VERSION 1.1.19 LANGUAGES CXX) + list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") option(CMAKE_EXPORT_COMPILE_COMMANDS "Export compile command" TRUE) - -project(lebai VERSION 1.1.18 LANGUAGES CXX) set(PROJECT_NAMESPACE lebai) message(STATUS "${PROJECT_NAME} version: ${PROJECT_VERSION}") # message(STATUS "major: ${PROJECT_VERSION_MAJOR}") diff --git a/Doxyfile b/Doxyfile index 77aa75e..637eef7 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = "lebai sdk" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 1.1.18 +PROJECT_NUMBER = 1.1.19 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/README.md b/README.md index d49f9d0..73efdae 100755 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ python开发可以直接从[PyPI](https://pypi.org/project/pylebai/)安装. python2理论上可以从源代码编译生成包(不再持续维护) ``` -pip install pylebai +pip install lebai ``` 目前Linux平台(amd64, aarch64)支持的Python版本有: - `cp3.6` diff --git a/doc/changelog.md b/doc/changelog.md index 476f2ed..ab8e6b6 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -1,5 +1,9 @@ # ChangeLog +## 1.1.19 + +调整python构建token。 + ## 1.1.18 尝试调整python包名字。 diff --git a/examples/example.py b/examples/example.py index ff44ba6..92d791d 100644 --- a/examples/example.py +++ b/examples/example.py @@ -12,12 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -from pylebai import zeroconf +from lebai import zeroconf ## Try to find the l_master d = zeroconf.Discovery() controllers = d.resolve() ## Robot instance -from pylebai import l_master +from lebai import l_master import time robot = l_master.Robot(controllers[0].ip_address) time.sleep(2)