Bug 290944 - Mk/Scripts/qa.sh: Add QA for common directories that are excluded in modern setuptools
Summary: Mk/Scripts/qa.sh: Add QA for common directories that are excluded in modern ...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Package Infrastructure (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-11 08:07 UTC by Xin LI
Modified: 2025-11-11 09:11 UTC (History)
1 user (show)

See Also:


Attachments
Proposed patch (3.10 KB, patch)
2025-11-11 08:07 UTC, Xin LI
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xin LI freebsd_committer freebsd_triage 2025-11-11 08:07:38 UTC
Created attachment 265324 [details]
Proposed patch

This patch adds a new QA check to detect Python ports that install unnecessary top-level directories (like docs/, tests/, or examples/, etc.) into site-packages.
These directories are excluded by modern setuptools and often cause file conflicts between packages.

The change brings our QA behavior in line with practices from other major distributions and helps catch packaging issues early.