Migrate to pyproject.toml
ProprietaryMigrate Python projects from requirements.txt and/or setup.cfg to pyproject.toml with hatchling build backend.
org. openrewrite. python. migrate. MigrateToPyprojectTomlOptional
Project name for [project].name. Inferred from setup.cfg, then from the Git repository name, or defaults to "my-project".
Python version constraint for requires-python. Inferred from setup.cfg or defaults to ">=3.9".
mod run . --recipe= org. openrewrite. python. migrate. MigrateToPyprojectTomlInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.