eclipse-cyclonedds / cyclonedds

Eclipse Cyclone DDS project
https://projects.eclipse.org/projects/iot.cyclonedds
Other
798 stars 349 forks source link

implement custom idlpy location #2025

Closed trittsv closed 3 weeks ago

trittsv commented 3 weeks ago

Previously the _idlpy could only be loaded from a location returned by python3 program.

This PR adds a command-line option -y <path> to use a custom _idlpy lib.

This is needed when you want to use idlc python without any pip package installation. For example CycloneDDS-Insight needs this because there idlc should use the binaries inside the App.

@eboasson can you have a look at this PR? 😊

trittsv commented 3 weeks ago

oh i missed that with -l its possible to pass a path ... sorry

eboasson commented 3 weeks ago

No worries 🙂