将 4 个根目录核心模块迁移到合理位置: - path_config.py -> douyin/core/path_config.py - version.py -> douyin/core/version.py - Underlying_Operations.py -> douyin/core/underlying_operations.py - unified_logger.py -> douyin/logging/unified_logger.py 配套更新所有 import: - path_config: 41 处 import 改为 douyin.core.path_config - version: 4 处改为 douyin.core.version - unified_logger: 5 处改为 douyin.logging.unified_logger - Underlying_Operations: 14 处改为 douyin.core.underlying_operations 修复 path_config.PROJECT_ROOT 计算(向上 2 级而非当前目录)。 验证:python -m compileall 全项目通过。 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
447 B
Python
17 lines
447 B
Python
"""图像处理操作模块
|
|
|
|
包含图像裁剪、处理等操作。
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any, Optional, Tuple
|
|
|
|
# 临时导入:从原文件导入,后续会逐步迁移
|
|
# TODO: 迁移完成后,移除此导入并在此文件中实现
|
|
from douyin.core.underlying_operations import underlying_operations
|
|
|
|
# 导出图像处理相关方法
|
|
# TODO: 实现这些函数后添加到__all__列表中
|
|
__all__ = []
|