Skip to content

chore: move metadata to pyproject.toml - #245

Merged
henryiii merged 1 commit into
masterfrom
pyproject-metadata
Oct 7, 2026
Merged

henryiii merged 1 commit into
masterfrom
pyproject-metadata

Conversation

@henryiii

@henryiii henryiii commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

🤖 AI text below 🤖

Moves the package metadata from setup.py to [project] in pyproject.toml. The minimum setuptools is now 61, the first version that supports [project].

setup.py keeps only the extension modules and build_ext. It reads the version from pyproject.toml with tomllib (Python 3.11+) to pass it to the C++ VERSION_INFO macro.

A pyproject-only config is not possible yet: pybind11 has no setuptools plugin, and setuptools' ext-modules table makes plain Extensions, which do not get the pybind11 include path or C++ standard flags.

Assisted-by: ClaudeCode:claude-opus-5-5
@henryiii
henryiii merged commit e994fc4 into master Oct 7, 2026
18 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