Hi Michael,
I am curious about:
You'll want to arrange for the htmltree.py file to be in or symbolically linked in the same directory as any other python files to be transpiled as part of your project. That's a current limitation of Transcrypt. It's on the list of issues at the Transcrypt repo and the author, Jacques de Hooge, has it on his list of upcoming enhancements.
See my comment at:
TranscryptOrg/Transcrypt#337
In short, all of the following should work:
- Pip-install htmltree from PyPi and it will be found both by Transcrypt and CPython
- Put htmltree in Transcrypt's modules directory, it will be found only by Transcrypt
- Put it in the directory of your project (main file so to say), it will only be found by your project
- Add the htmltree directory (so the dir where htmltree.py resides) to your PYTHONPATH
To avoid the need for a symlink, 1 or 4 would be best. Since 1 isn't yet supported, 4 remains.
KR
Jacques de Hooge
Hi Michael,
I am curious about:
See my comment at:
TranscryptOrg/Transcrypt#337
In short, all of the following should work:
To avoid the need for a symlink, 1 or 4 would be best. Since 1 isn't yet supported, 4 remains.
KR
Jacques de Hooge