Skip to content

Modernize build system with pyproject.toml and setup.py refactor#286

Closed
letmaik wants to merge 2 commits intomainfrom
split/pr1-build-system
Closed

Modernize build system with pyproject.toml and setup.py refactor#286
letmaik wants to merge 2 commits intomainfrom
split/pr1-build-system

Conversation

@letmaik
Copy link
Copy Markdown
Owner

@letmaik letmaik commented Feb 10, 2026

Enable proper sdist builds and build isolation with a new pyproject.toml (PEP 517/518). Unify Linux and macOS LibRaw compilation into a single unix_libraw_compile() code path. Rewrite MANIFEST.in so sdist packages include all required sources (LibRaw headers/sources, Cython .pyx, type stubs).

- Add pyproject.toml with PEP 517/518 build configuration
- Refactor setup.py: unify unix_libraw_compile(), add rpath handling,
  remove miniconda/zipfile downloads, code formatting cleanup
- Rewrite MANIFEST.in for correct sdist contents
- Update dev-requirements.txt (add setuptools>=69, build, mypy)
- Update .gitignore (.venv/, .venv-test/, tmp/, *.so.*)
@letmaik letmaik closed this Feb 10, 2026
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