Skip to content

Fix config files missing from PyPI package#94

Merged
mircealungu merged 5 commits into
masterfrom
fix/packaging-config-files
Mar 21, 2026
Merged

Fix config files missing from PyPI package#94
mircealungu merged 5 commits into
masterfrom
fix/packaging-config-files

Conversation

@mircealungu
Copy link
Copy Markdown
Contributor

Summary

  • config.schema.json and config.template.json were not included in the installed package, causing FileNotFoundError on any CLI command when installed via pip install archlens
  • Moved config files into the src/ package directory so they get packaged correctly
  • Replaced data_files with package_data in setup.py
  • Bumps version to 0.4.1

Test plan

  • pip install from built wheel in a fresh venv
  • archlens render works without FileNotFoundError
  • archlens init creates config from template

🤖 Generated with Claude Code

mircealungu and others added 5 commits March 21, 2026 11:41
config.schema.json and config.template.json were not being installed
when users pip install archlens, causing FileNotFoundError on any
CLI command. Move them into the src/ package directory and use
package_data instead of data_files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Narrow package_data from *.json to specific files
- Fix README.md path to ../../README.md (lives at repo root)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mircealungu
Copy link
Copy Markdown
Contributor Author

@lottejd @BabetteB When trying to run locally the 4.0.0 versio from PyPI it turns out that the package was failing because config.schema.json were not found. This fixes this, and a few other issues.

@mircealungu mircealungu merged commit c964d7b into master Mar 21, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant