eclipse-cyclonedds / cyclonedds-python

Other
54 stars 44 forks source link

ddsperf is missing after installation from pip #184

Open morkovka1337 opened 1 year ago

morkovka1337 commented 1 year ago

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.

thijsmie commented 1 year ago

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 😄