eclipse-cyclonedds / eclipse-cyclonedds/cyclonedds-python

[Question] Several questions about idlc py files generation

Open
#198 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
110
Forks
68
Avg merge
1h 8m
Merged PRs (30d)
1

Description

Hello, I have a couple of questions about generation of python files from idl files:

  1. How to work with -o option? I type idlc -l py idl/file.idl -o python_files, but they are still generated in the directory I'm at the moment (not in python_files)
  2. Is there an option to somehow include automatically __init__.py file so that output directory becomes python package?
    Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names idlc, idl/file.idl, the -o option, and generated Python output, but no repository files or tests. Reproduce the command from the issue first, then inspect the idlc option documentation or entry point; done means the output-directory and init.py behavior are explicitly answered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.