Skip to content

Commit

Permalink
fix: change aarch build script
Browse files Browse the repository at this point in the history
  • Loading branch information
liufang-robot committed Mar 18, 2024
1 parent 5c05276 commit 450361a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux_python_aarch64_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v1
- run: ls /opt/python/
- run: for PYBIN in /opt/python/*/bin;do "${PYBIN}/pip" install -r requirements.txt; done;
- run: /opt/python/cp37-cp37m/bin/pip install twine==2.0 urllib3==1.24. markdown
- run: /opt/python/cp310-cp310/bin/pip install twine==2.0 urllib3==1.24. markdown
- name: configure
run: cmake -S. -Bbuild -DBUILD_PYTHON=ON
- name: build
Expand All @@ -42,4 +42,4 @@ jobs:
done;

- name: upload Pypi
run: /opt/python/cp37-cp37m/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.PYLEBAI }} wheelhouse/*.whl
1 change: 0 additions & 1 deletion .github/workflows/linux_python_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- run: ls -la /opt/python/
- run: for PYBIN in /opt/python/*/bin;do "${PYBIN}/pip" install -r requirements.txt; done;
- run: /opt/python/cp310-cp310/bin/pip install twine==2.0.0 markdown

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/linux_python_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- run: ls /opt/python/
- run: for PYBIN in /opt/python/*/bin;do "${PYBIN}/pip" install -r requirements.txt; done;
- run: /opt/python/cp37-cp37m/bin/pip install twine==2.0 urllib3==1.24. markdown
- run: /opt/python/cp310-cp310/bin/pip install twine==2.0 urllib3==1.24. markdown
- name: configure
run: cmake -S. -Bbuild -DBUILD_PYTHON=ON
- name: build
Expand All @@ -42,4 +41,4 @@ jobs:
done;

- name: upload Pypi
run: /opt/python/cp37-cp37m/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.PYLEBAI }} wheelhouse/*.whl
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,30 @@ lebai-sdk的源代码仓库,可以用于控制乐白机械臂.
## python
python开发可以直接从[PyPI](https://pypi.org/project/pylebai/)安装.

**目前python仅支持linux平台,windows平台还存在问题.**
python2理论上可以从源代码编译生成包(不再持续维护)

```
pip install pylebai
```
目前Linux平台支持的Python版本有
- `3.6`
- `3.7`
- `3.8`
- `3.9`
- `3.10`

目前Windows平台支持的Python版本有
目前Linux平台(amd64, aarch64)支持的Python版本有:
- `cp3.6`
- `cp3.7`
- `cp3.8`
- `cp3.9`
- `cp3.10`
- `cp3.11`
- `cp3.12`
- `pp3.7`
- `pp3.8`
- `pp3.9`
- `pp3.10`

目前Windows平台支持的Python版本有:
- `3.8`
- `3.9`
- `3.10`
- `3.11`
- `3.12`



Expand Down

0 comments on commit 450361a

Please sign in to comment.