This repo is modified from origin repo Fast-DDS-Python.
Main Feature:
- Support cmake or colcon build without any addtion dependence installed
- Support install to Python site-packages directly (with pip) - it complete after cmake or colcon build
- Provide binary
whlfile with major python version.
python >= 3.8You can install the whl file from the release page directly with your own python version.
pip install XXXXXX.whlYou can use Cmake or colcon to build this project.
If you don't know what Cmake or colcon is, here is the compile instructions.
-
Open
Developer PowerShell for VS 20XX, and it will open a terminal. -
Install necessary python packages
pip install -U colcon-common-extensions vcstool build
-
Use
cdcommand as below:cd [Path to this repo]/fastdds_python -
Then build the project
chcp 65001 # change encode to utf-8 colcon build
FastDDS python bind, 根据官方仓库进行魔改,可以不需要安装任何额外依赖进行编译。
主要功能:
- 支持直接安装到Python库
- 支持 CMake编译 / colcon 编译
- 支持 pip 直接安装
- 提供主流python版本的
whl二进制文件
python >= 3.8直接前往Release下载对应python版本的二进制包,下载后运行下面的命令即可
pip install XXXXXX.whl支持CMake编译或 colcon 编译。
如果你不知道什么是CMake编译或 colcon 编译,请使用Developer PowerShell for VS 20XX打开,出现一个终端,
安装必要的python库
pip install -U colcon-common-extensions vcstool build使用cd命令
cd [仓库目录]/fastdds_python然后输入
chcp 65001 # change encode to utf-8
colcon build即可。