I'm building a Trickified library and I have several headers that place code into a Python module, like so:
/* PURPOSE: (Demo)
*
* PYTHON_MODULE: (demo)
* /
However, when I build a sim that pulls in that Trickified library, the code doesn't seem to be placed in that Python module. The import statements for the relevant modules are missing from the build/trick/demo/__init__.py file. I do actually see the import statements in my Trickified build/demo/__init__.py file that gets generated during Trickification, though.
Here's a minimum reproducible example: trickification-issue.zip
Tagging @ddj116 and @excaliburtb for awareness. I think I have a fix, so I'll open a PR in a bit.
I'm building a Trickified library and I have several headers that place code into a Python module, like so:
However, when I build a sim that pulls in that Trickified library, the code doesn't seem to be placed in that Python module. The import statements for the relevant modules are missing from the
build/trick/demo/__init__.pyfile. I do actually see the import statements in my Trickifiedbuild/demo/__init__.pyfile that gets generated during Trickification, though.Here's a minimum reproducible example: trickification-issue.zip
Tagging @ddj116 and @excaliburtb for awareness. I think I have a fix, so I'll open a PR in a bit.