import sys import os # Ensure the project root is on the path so 'app' package is always found sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) from app import create_app app = create_app() if __name__ == '__main__': app.run()