A few possible hacked fixes are suggested, but none seem really feasible.
Another potential fix is to move all the files to the same directory level, as this makes it easier.
Alternatively, the suggestion from Guido's email says that needing to run the python modules as scripts is an antipattern, so perhaps we should just find a way to test everything without it.
Running the
generate_frontend.py
script works as is. However, development is made more difficult because running python files in thebackend
folder does not work, due to the import issue described in https://stackoverflow.com/questions/16981921/relative-imports-in-python-3.A few possible hacked fixes are suggested, but none seem really feasible.
Another potential fix is to move all the files to the same directory level, as this makes it easier.
Alternatively, the suggestion from Guido's email says that needing to run the python modules as scripts is an antipattern, so perhaps we should just find a way to test everything without it.