v1.0.1 support for Pypi

This commit is contained in:
Agnel Wang 2024-10-28 15:05:12 +08:00
parent 463c1fc20a
commit ac679a0c61
4 changed files with 20 additions and 3 deletions

3
.gitignore vendored
View File

@ -34,3 +34,6 @@ __pycache__
# JetBrains IDE # JetBrains IDE
.idea/ .idea/
# python
dist/

View File

@ -8,6 +8,12 @@ Python interface for unitree sdk2
- numpy - numpy
- opencv-python - opencv-python
## Install unitree_sdk2_python ## Install unitree_sdk2_python
```bash
pip install unitree_sd2py
```
### Installing from source
Execute the following commands in the terminal: Execute the following commands in the terminal:
```bash ```bash
cd ~ cd ~

3
pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

View File

@ -1,16 +1,21 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
setup(name='unitree_sdk2py', setup(name='unitree_sdk2py',
version='1.0.0', version='1.0.1',
author='Unitree', author='UnitreeRobotics',
author_email='unitree@unitree.com', author_email='unitree@unitree.com',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
license="BSD-3-Clause", license="BSD-3-Clause",
packages=find_packages(include=['unitree_sdk2py','unitree_sdk2py.*']), packages=find_packages(include=['unitree_sdk2py','unitree_sdk2py.*']),
description='Unitree robot sdk version 2 for python', description='Unitree robot sdk version 2 for python',
project_urls={
"Source Code": "https://github.com/unitreerobotics/unitree_sdk2_python",
},
python_requires='>=3.8', python_requires='>=3.8',
install_requires=[ install_requires=[
"cyclonedds==0.10.2", "cyclonedds==0.10.2",
"numpy", "numpy",
"opencv-python", "opencv-python",
], ],
) )