cyclonedds-python
cyclonedds-python copied to clipboard
[Question] Several questions about idlc py files generation
Hello, I have a couple of questions about generation of python files from idl files:
- How to work with
-ooption? I typeidlc -l py idl/file.idl -o python_files, but they are still generated in the directory I'm at the moment (not inpython_files) - Is there an option to somehow include automatically
__init__.pyfile so that output directory becomes python package? Thanks!
hi @morkovka1337. i would like to try answer on your questions.
- you are on right way
ildc ... -o python_filesshould create compiled files inpython_filesdirectory. there was a problem inidlpywith-oflag, that should be solved with mentioned #229 PR. - i didn't find way to place
__init__.pyfile in output directory (provided by-oflag) withidlctool.