"""
WSGI entry point for cPanel/shared hosting deployment
"""

import sys
import os

# Add project directory to Python path
project_path = os.path.dirname(os.path.abspath(__file__))
if project_path not in sys.path:
    sys.path.insert(0, project_path)

from app import app as application

# For cPanel Passenger WSGI
# If using mod_wsgi, use this in your .htaccess:
# WSGIScriptAlias / /path/to/wsgi.py
# WSGIDaemonProcess neurobro python-path=/path/to/project
# WSGIProcessGroup neurobro
