Files
TimeTracker/setup.py
Dries Peeters 1f6941ff43 Fix AUTH_METHOD=none and add comprehensive schema verification
- Fix AUTH_METHOD=none: Read from Flask app config instead of Config class
- Add comprehensive schema verification: Verify all SQLAlchemy models against
  database and auto-fix missing columns
- Improve startup logging: Unified format with timestamps and log levels
- Enhanced migration flow: Automatic schema verification after migrations

Fixes authentication issue where password field showed even with AUTH_METHOD=none.
Ensures all database columns from models exist, preventing missing column errors.
Improves startup logging for better debugging and monitoring.
2025-12-01 08:15:30 +01:00

20 lines
468 B
Python

"""
Setup configuration for TimeTracker application.
This allows the app to be installed as a package for testing.
"""
from setuptools import setup, find_packages
setup(
name='timetracker',
version='4.2.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
# Core requirements are in requirements.txt
# This file is mainly for making the app importable during testing
],
python_requires='>=3.11',
)