Skip to content

#13842 Python: Migrate from setup.py to pyproject.toml#13847

Draft
kriben wants to merge 1 commit intodevfrom
13842-pyproject-build
Draft

#13842 Python: Migrate from setup.py to pyproject.toml#13847
kriben wants to merge 1 commit intodevfrom
13842-pyproject-build

Conversation

@kriben
Copy link
Copy Markdown
Collaborator

@kriben kriben commented Apr 8, 2026

Replace legacy setup.py packaging with modern pyproject.toml (PEP 517/518/621). Version is dynamically resolved via setuptools attr: directive from rips/_version.py, which CMake generates from _version.py.cmake. Works independently without CMake using the committed dev version fallback.

Consolidate requirements.txt, dev-requirements.txt, and build-requirements.txt into pyproject.toml dependencies and [dev] optional-dependencies. Consolidate rips/mypy.ini into [tool.mypy] section of pyproject.toml. Update GitHub Actions workflow and CMakeLists.txt accordingly.

Replace legacy setup.py packaging with modern pyproject.toml (PEP 517/518/621).
Version is dynamically resolved via setuptools attr: directive from rips/_version.py,
which CMake generates from _version.py.cmake. Works independently without CMake
using the committed dev version fallback.

Consolidate requirements.txt, dev-requirements.txt, and build-requirements.txt
into pyproject.toml dependencies and [dev] optional-dependencies.
Consolidate rips/mypy.ini into [tool.mypy] section of pyproject.toml.
Update GitHub Actions workflow and CMakeLists.txt accordingly.
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