{"id":37081436,"url":"https://github.com/diazona/setuptools-pyproject-migration","last_synced_at":"2026-01-14T09:53:32.809Z","repository":{"id":176930141,"uuid":"659078614","full_name":"diazona/setuptools-pyproject-migration","owner":"diazona","description":"Generate a pyproject.toml file from setuptools","archived":false,"fork":false,"pushed_at":"2025-12-01T20:55:28.000Z","size":545,"stargazers_count":21,"open_issues_count":10,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-04T10:52:16.917Z","etag":null,"topics":["pyproject-toml","python","setuptools"],"latest_commit_sha":null,"homepage":"https://setuptools-pyproject-migration.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diazona.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-27T05:19:43.000Z","updated_at":"2025-12-01T20:55:31.000Z","dependencies_parsed_at":"2023-12-27T10:24:50.973Z","dependency_job_id":"7bc6246d-baaa-4459-89d2-a06d9241f8f7","html_url":"https://github.com/diazona/setuptools-pyproject-migration","commit_stats":null,"previous_names":["diazona/setuptools-pyproject-migration"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/diazona/setuptools-pyproject-migration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diazona%2Fsetuptools-pyproject-migration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diazona%2Fsetuptools-pyproject-migration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diazona%2Fsetuptools-pyproject-migration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diazona%2Fsetuptools-pyproject-migration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diazona","download_url":"https://codeload.github.com/diazona/setuptools-pyproject-migration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diazona%2Fsetuptools-pyproject-migration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pyproject-toml","python","setuptools"],"created_at":"2026-01-14T09:53:32.305Z","updated_at":"2026-01-14T09:53:32.801Z","avatar_url":"https://github.com/diazona.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# setuptools-pyproject-migration\n\n\u003c!-- markdownlint-disable MD013 --\u003e\n[![PyPI](https://img.shields.io/pypi/v/setuptools-pyproject-migration.svg)](https://pypi.org/project/setuptools-pyproject-migration)\n![PyPI versions](https://img.shields.io/pypi/pyversions/setuptools-pyproject-migration.svg)\n[![tests](https://github.com/diazona/setuptools-pyproject-migration/workflows/tests/badge.svg)](https://github.com/diazona/setuptools-pyproject-migration/actions?query=workflow%3A%22tests%22)\n[![documentation](https://readthedocs.org/projects/setuptools-pyproject-migration/badge/?version=latest)](https://setuptools-pyproject-migration.readthedocs.io/en/latest/?badge=latest)\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![Code style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![skeleton](https://img.shields.io/badge/skeleton-2023-informational)](https://blog.jaraco.com/skeleton)\n\u003c!-- markdownlint-enable MD013 --\u003e\n\n## Introduction\n\n`pyproject.toml` represents the new era of Python packaging, but many old\nprojects are still using `setuptools`. That's where this package comes in: just\ninstall it, run it, and it will print out a nicely formatted `pyproject.toml`\nfile with the same metadata that you had in `setup.py` or `setup.cfg`.\n\nOr at least, that's the goal. The project is currently a work in progress with\nonly partial support for all the attributes that might exist in a setuptools\nconfiguration, so this won't yet work for anything complex. Feel free to file\nan issue to highlight anything that needs to be added!\n\n## Installation and usage\n\nThere are two different ways to install this project. You can use either or both\ndepending on what you prefer.\n\n### Standalone application\n\nTo install `setuptools-pyproject-migration` as an application, we recommend\nusing [pipx](https://pypa.github.io/pipx/) (though of course you can also do\nthis with `pip install --user` or in a virtual environment of your choice).\nFirst make sure you have pipx installed, then run\n\n```console\npipx install setuptools-pyproject-migration\n```\n\nAfter that, in any directory that has a `setup.py` and/or `setup.cfg` file, you\ncan run\n\n```console\nsetuptools-pyproject-migration\n```\n\nand it will print out the content of `pyproject.toml` as computed from your\n`setup.py` and/or `setup.cfg`. Running `setuptools-pyproject-migration -h` will\nprint a brief usage summary.\n\nYou can also install and run the application in one go as follows:\n\n```console\npipx run setuptools-pyproject-migration\n```\n\n### Virtual environment\n\nOr you can use `setuptools-pyproject-migration` in a virtual environment you use\nto develop your project. Activate your virtual environment and then run\n\n```console\npython -m pip install setuptools-pyproject-migration\n```\n\nand then running\n\n```console\npython setup.py pyproject\n```\n\nwill print out the content of your `pyproject.toml` file.\n\n## History\n\nInspired by [a conversation on Mastodon](https://mastodon.longlandclan.id.au/@stuartl/110518282805008552).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiazona%2Fsetuptools-pyproject-migration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiazona%2Fsetuptools-pyproject-migration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiazona%2Fsetuptools-pyproject-migration/lists"}