diff --git a/.gitignore b/.gitignore index 001de9a..8d3e43e 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,8 @@ __pycache__ .idea/ # python -dist/ \ No newline at end of file +dist/ + +# wheel +build/ +*.whl \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..b4462aa --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include unitree_sdk2py/utils/lib/*.so \ No newline at end of file diff --git a/setup.py b/setup.py index 54d8cac..38c0468 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,7 @@ long_description_content_type="text/markdown", license="BSD-3-Clause", packages=find_packages(include=['unitree_sdk2py','unitree_sdk2py.*']), + include_package_data=True, description='Unitree robot sdk version 2 for python', project_urls={ "Source Code": "https://github.com/unitreerobotics/unitree_sdk2_python", diff --git a/unitree_sdk2py/__init__.py b/unitree_sdk2py/__init__.py index f071aeb..a951f2d 100644 --- a/unitree_sdk2py/__init__.py +++ b/unitree_sdk2py/__init__.py @@ -1,4 +1,4 @@ -from . import idl, utils, core, rpc, go2, b2 +from . import idl, utils, core, rpc, go2 __all__ = [ "idl" @@ -6,5 +6,4 @@ "core", "rpc", "go2", - "b2", ]