mammoth-twilight-79890
11/03/2023, 9:54 PMpackage_dir/
    __init__.py
    flows.py
    shared_code.py
And say that flows.py looks something like
from metaflow import FlowSpec, step
from package_dir import shared_code
 
 
class ExampleFlow(FlowSpec):
    ...
 
if __name__ == "__main__":
    ExampleFlow()
if I try to run this like this:
python -m package_dir.flows run
I get a ModuleNotFoundError  when trying to import the shared_code module, but that import works when I comment out the ExampleFlow() call and replace it with something like print("Hello world!"),