import sys
import os

# Set up virtual environment path if Namecheap hosts it inside a virtualenv
# Standard Namecheap Python apps place their venv in nodevenv/ or virtualenv/
# These lines ensure the current application folder is in python pathway.
sys.path.insert(0, os.path.dirname(__file__))

from app import create_app

application = create_app()
