Skip to content

Commit dc04153

Browse files
MementoRCclaude
andcommitted
fix: exclude .claude/ directory from builds and Git tracking
Resolves build failures caused by .claude/ dev tools being included in packages: - Add .claude/ to .gitignore to prevent tracking of local dev tools - Add build exclusions for both wheel and sdist targets - Exclude .cursor/, .uckn/, and temp files from packaging This addresses the ERROR: 'uckn_framework-1.0.0/.claude/commands/references' absolute path link issue that was breaking the build process. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 82ff9f9 commit dc04153

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ node_modules/
111111
*.sw?
112112
# OS specific
113113

114-
# Claude Code local settings
115-
.claude/settings.local.json
114+
# Claude Code local settings and tools
115+
.claude/
116116
/.taskmaster/
117117
.mcp.json
118118

pyproject.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,25 @@ build-backend = "hatchling.build"
4545

4646
[tool.hatch.build.targets.wheel]
4747
packages = ["src/uckn"]
48+
exclude = [
49+
".claude",
50+
".claude/**",
51+
".cursor",
52+
".cursor/**",
53+
"*.tmp",
54+
"*.temp"
55+
]
56+
57+
[tool.hatch.build.targets.sdist]
58+
exclude = [
59+
".claude",
60+
".claude/**",
61+
".cursor",
62+
".cursor/**",
63+
"*.tmp",
64+
"*.temp",
65+
".uckn"
66+
]
4867

4968
[tool.pixi.project]
5069
channels = ["conda-forge", "pytorch"]

0 commit comments

Comments
 (0)