Skip to content

Commit

Permalink
feat: new token
Browse files Browse the repository at this point in the history
  • Loading branch information
liufang-robot committed Jun 4, 2024
1 parent 93eb373 commit 33c6f9e
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux_python_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/windows_python_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ python开发可以直接从[PyPI](https://pypi.org/project/pylebai/)安装.
python2理论上可以从源代码编译生成包(不再持续维护)

```
pip install pylebai
pip install lebai
```
目前Linux平台(amd64, aarch64)支持的Python版本有:
- `cp3.6`
Expand Down
4 changes: 4 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog

## 1.1.19

调整python构建token。

## 1.1.18

尝试调整python包名字。
Expand Down
4 changes: 2 additions & 2 deletions examples/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 33c6f9e

Please sign in to comment.