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
.idea/
# python
dist/

View File

@ -8,6 +8,12 @@ Python interface for unitree sdk2
- numpy
- opencv-python
## Install unitree_sdk2_python
```bash
pip install unitree_sd2py
```
### Installing from source
Execute the following commands in the terminal:
```bash
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,12 +1,17 @@
from setuptools import setup, find_packages
setup(name='unitree_sdk2py',
version='1.0.0',
author='Unitree',
version='1.0.1',
author='UnitreeRobotics',
author_email='unitree@unitree.com',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
license="BSD-3-Clause",
packages=find_packages(include=['unitree_sdk2py','unitree_sdk2py.*']),
description='Unitree robot sdk version 2 for python',
project_urls={
"Source Code": "https://github.com/unitreerobotics/unitree_sdk2_python",
},
python_requires='>=3.8',
install_requires=[
"cyclonedds==0.10.2",