Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@p-r-a-v-i-n
Copy link
Contributor

Since pyproject.toml is already used for packaging, I moved the static, template, and locale file rules from MANIFEST.in to pyproject.toml to avoid duplication.

Changes:

  • Added package data rules in pyproject.toml
  • Added license-files entry for LICENSE.md
  • Removed those rules from MANIFEST.in

references:
license
packaging-data

Build tested: source tarball and wheel include the expected files.

drf-cleanup

@p-r-a-v-i-n p-r-a-v-i-n marked this pull request as draft November 12, 2025 10:52
@p-r-a-v-i-n p-r-a-v-i-n marked this pull request as ready for review November 12, 2025 11:01
@auvipy auvipy requested review from auvipy and Copilot November 12, 2025 15:46
Copilot finished reviewing on behalf of auvipy November 12, 2025 15:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the package configuration by consolidating package data rules into pyproject.toml, eliminating duplication between MANIFEST.in and pyproject.toml.

  • Moved static, template, and locale file inclusion rules from MANIFEST.in to pyproject.toml
  • Added license-files configuration for LICENSE.md
  • Retained only test-related rules in MANIFEST.in

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pyproject.toml Added package-data rules for templates, static files, and locale files; added license-files pattern
MANIFEST.in Removed package data rules that were moved to pyproject.toml; kept test inclusion and exclusion rules

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants