The common way for the flask script to work is:

  • Either it should be the import path for your application
  • Or the path to a Python file