mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2025-12-31 00:09:58 -06:00
Major refactoring to improve code organization and maintainability: - Refactor API routes (api_v1.py) to delegate business logic to service layer - Add new QuoteService for quote management operations - Enhance existing services: ExpenseService, InvoiceService, PaymentService, ProjectService, TimeTrackingService - Improve caching utilities with enhanced cache management - Enhance API authentication utilities - Add comprehensive test suite covering routes, services, and utilities - Update routes to use service layer pattern (kiosk, main, projects, quotes, timer, time_entry_templates) - Update time entry template model with additional functionality - Update Docker configuration and startup scripts - Update dependencies and setup configuration This refactoring improves separation of concerns, testability, and code maintainability while preserving existing functionality.
20 lines
468 B
Python
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.1.0',
|
|
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',
|
|
)
|
|
|