Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Several questions about idlc py files generation #198

Open
morkovka1337 opened this issue Jul 11, 2023 · 1 comment
Open

[Question] Several questions about idlc py files generation #198

morkovka1337 opened this issue Jul 11, 2023 · 1 comment
Labels
question Further information is requested

Comments

@morkovka1337
Copy link

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!
@poetinger poetinger added the question Further information is requested label Jul 12, 2023
@Splinter1984
Copy link

hi @morkovka1337. i would like to try answer on your questions.

  1. you are on right way ildc ... -o python_files should create compiled files in python_files directory. there was a problem in idlpy with -o flag, that should be solved with mentioned custom output directory for ildpy. #229 PR.
  2. i didn't find way to place __init__.py file in output directory (provided by -o flag) with idlc tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants