cyclonedds-python
cyclonedds-python copied to clipboard
ddsperf is missing after installation from pip
I've installed a python binding of the cyclones via pip as follows:
pip install cyclonedds
Now I'm running into an issue when I try to cyclonedds performance ping because ddsperf is missing. The issue is reproduced on macOS (M1 Pro) and Ubuntu 18 (x86). I've tried to create a new conda environment, no changes.
Hi @morkovka1337,
Sadly ddsperf is not included by default, packaging executables into wheels is an arcane art and hard to maintain, hence I've only tried to do it for idlc. If you install the main CycloneDDS library first and then do a python install from source instead of from a wheel (using --no-binary=cyclonedds) you'll have your own, shiny, ddsperf that the python package will then use.
This fact should be mentioned in the documentation, so lets leave this issue open for now 😄