Convert setup.cfg and setup.py to pyproject.toml#135
Conversation
Co-authored-by: martinpopel <724617+martinpopel@users.noreply.github.com>
Co-authored-by: martinpopel <724617+martinpopel@users.noreply.github.com>
|
@copilot Please, in addition, follow https://peps.python.org/pep-0639/, update Python 3.6 to 3.9 in README.md and bump the version to 0.5.2. |
1 similar comment
|
@copilot Please, in addition, follow https://peps.python.org/pep-0639/, update Python 3.6 to 3.9 in README.md and bump the version to 0.5.2. |
….5.2 Co-authored-by: martinpopel <724617+martinpopel@users.noreply.github.com>
Done in commit 072cab4. Changed license to follow PEP 639 using
Done in commit 072cab4. Changed license to follow PEP 639 using |
Co-authored-by: martinpopel <724617+martinpopel@users.noreply.github.com>
|
@copilot Can we use just |
Co-authored-by: martinpopel <724617+martinpopel@users.noreply.github.com>
Done in commit 8822413. Changed to |
Migrates package configuration from legacy setup.py/setup.cfg to modern PEP 621 and PEP 639 pyproject.toml format.
Changes
[project]section with metadata, dependencies, entry points, and optional dependencies migrated from setup.cfglicense = "GPL-3.0-or-later"and removed license classifier (superseded by SPDX expression)ufal.udpipeas an optional dependency for users who need UDPipe parser supportThe entry point
udapy = udapi.cli:mainuses modern dot notation instead of the legacyudapi:cli.mainformat but resolves to the same import path.All configuration previously in setup.cfg is now in pyproject.toml:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.