Skip to content

Setup python workflow#16

Merged
dance858 merged 2 commits intomainfrom
python-setup
Jan 11, 2026
Merged

Setup python workflow#16
dance858 merged 2 commits intomainfrom
python-setup

Conversation

@Transurgeon
Copy link
Collaborator

And also adds a README. I have moved the previous content to a TODO.md.
This setup now allows to automatically install the differentiation-engine bindings through pip install -e ..

Transurgeon and others added 2 commits January 10, 2026 10:58
- Add pyproject.toml with scikit-build-core backend
- Create src/dnlp_diff_engine/ package structure with high-level API
- Update CMakeLists.txt to conditionally build Python bindings via SKBUILD
- Rename C module export from PyInit_DNLP_diff_engine to PyInit__core
- Add Python tests under tests/python/ for pytest discovery
- Add CLAUDE.md with build instructions and architecture docs
- Move previous README notes to TODO.md and write proper README

New workflow:
  uv pip install -e ".[test]" && pytest

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
These are now replaced by:
- src/dnlp_diff_engine/__init__.py (package with same API)
- tests/python/ (tests using the installed package)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I committed this accidently. But it is a useful file to give context to Claude. If we commit it I don't need to regenerate it everytime. LMK if its okay to merge this.

@dance858
Copy link
Collaborator

Awesome. Looking forward to use it. You're a setup machine!

@dance858 dance858 merged commit 7991d2a into main Jan 11, 2026
0 of 9 checks passed
@dance858 dance858 deleted the python-setup branch January 11, 2026 10:37
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.

2 participants