层1: ars_opd 改为 editable 安装,修复脚本/调试器 import 失败
- pyproject.toml: 最小打包配置(依赖仍统一走 requirements*.txt) - .vscode/launch.json: 调试当前文件 + teacher 生成两个配置,cwd 锚定仓库根 - setup_remote.sh 与 CLAUDE.md 常用命令同步 pip install -e Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# 最小打包配置:只为让 `pip install -e .` 把 ars_opd 注册进环境,
|
||||
# 使脚本/调试器/远程从任意目录都能 import ars_opd(不再依赖 cwd 恰好是仓库根)。
|
||||
# 依赖不在这里声明——统一走 requirements*.txt,避免两处清单漂移。
|
||||
[build-system]
|
||||
requires = ["setuptools>=64"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "ars-opd"
|
||||
version = "0.1.0"
|
||||
description = "OmniOPD (arXiv:2606.01476v2) 分层重构实现"
|
||||
requires-python = ">=3.11"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["ars_opd"]
|
||||
Reference in New Issue
Block a user