Add readme, license, authors, and URLs to project metadata#6
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the project’s packaging metadata to include richer, publish-friendly information (README, license, authors, and URLs) and adds an MIT LICENSE file.
Changes:
- Add
readme,license, andauthorsfields to[project]metadata. - Add
[project.urls]for Homepage/Repository links. - Add an MIT
LICENSEfile to the repository.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
pyproject.toml |
Adds project metadata fields (README/license/authors) and project URLs for packaging/publishing. |
LICENSE |
Introduces MIT license text for the project. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| readme = "README.md" | ||
| license = "MIT" | ||
| authors = [ | ||
| { name = "Alex DeJarnatt", email = "adejarnatt@gmail.com" }, | ||
| ] |
There was a problem hiding this comment.
license = "MIT" follows the newer PEP 639 approach (SPDX license expression), but it may not be understood by older setuptools releases. Since [build-system].requires currently allows setuptools>=64, consider either (a) bumping the minimum setuptools version to one that supports PEP 639 license metadata, or (b) switching to the legacy PEP 621 table form for license. Also consider adding license-files = ["LICENSE"] so the LICENSE file is included in built distributions.
There was a problem hiding this comment.
Switched to the PEP 621 table form license = {file = "LICENSE"} in commit 4471a96. This is compatible with setuptools>=64 and also ensures the LICENSE file is included in built distributions.
…lity Agent-Logs-Url: https://github.com/alexdej/pytest-cppcheck/sessions/3fda9afa-764b-4cc4-96b2-6774f884872e Co-authored-by: alexdej <34821+alexdej@users.noreply.github.com>
No description provided.