Open puckk opened 6 years ago
It is currently an open question how to handle these cases. Your script is uploaded to the wooey backend that then attempts to parse it. This is done in an area removed from where the script and thus relative imports are located. One idea to address this issue is found within #144 , and another implementation that would work currently is converting your script to a self-contained zip. There may be other solutions as well depending on how you are running the server (such as setting PYTHONPATH
). I'm also open to other solutions.
I have a script that makes imports relative to the directory where it is (I have a file _ _init__.py in the directory lib/parser/). And when you add the script to Wooey it does not find it.