including modules when packing toga with beeware for OSX distro #1306
Unanswered
hoffenmerCode
asked this question in
Q&A
Replies: 1 comment
-
If your app contains multiple modules, you add the required directories to your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I saw a similar question and answer on here but didn't get a clear answer from it so I'll ask afresh:
Writing a toga app that import local modules and functions.
They're in the same folder as the main file.
When packing this for distro (dmg) for OSX I keep getting an error that the modules cannot be imported because they are missing or undefined. I know that when including pip-sourced modules (for lack of a better word) I just put that module name in the "required" field of the toml file. How would I include my local module to be packaged for distro? Guess I'd just include the file path so "required" : "/somePath/myfile.py" ?
Beta Was this translation helpful? Give feedback.
All reactions