Skip to content

Bundle data files in pip package and fix hardcoded paths#69

Draft
atalyaalon wants to merge 1 commit intomainfrom
v0.49.0
Draft

Bundle data files in pip package and fix hardcoded paths#69
atalyaalon wants to merge 1 commit intomainfrom
v0.49.0

Conversation

@atalyaalon
Copy link
Copy Markdown
Contributor

@atalyaalon atalyaalon commented Apr 15, 2026

Summary

  • Move data/ into s2and/data/ so files ship with pip install
  • Add [tool.setuptools.package-data] for data/*.json and data/*.txt
  • Replace hand-rolled config loading in plotting_utils.py and scripts with canonical CONFIG from s2and.consts
  • Remove legacy Dockerfile (not used in any CI/CD workflow)
  • Update README version example to 0.49.0
  • Bump version to 0.49.0 across all packages (Python + Rust)

Test plan

  • test_plotting_utils, test_consts, test_data pass (14/14)
  • CONFIG resolves data files correctly from installed package
  • Modified scripts parse and import without errors
  • CI test suite passes

🤖 Generated with Claude Code

@atalyaalon atalyaalon force-pushed the v0.49.0 branch 6 times, most recently from 4795984 to 07a1434 Compare April 15, 2026 23:36
@atalyaalon atalyaalon marked this pull request as ready for review April 15, 2026 23:59
@atalyaalon atalyaalon marked this pull request as draft April 16, 2026 00:03
- Move data/ into s2and/data/ so files ship with pip install
- Add [tool.setuptools.package-data] for data/*.json and data/*.txt
- Replace hand-rolled config loading in plotting_utils.py, scripts,
  and Dockerfile with canonical CONFIG from s2and.consts
- Update Dockerfile to remove redundant COPY lines and target
  S3 downloads to s2and/data/
- Bump version to 0.49.0 across all packages
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