Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tools] Simplify static file handling in report-converter for Python …
…3.12 The report-converter package shows setuptools warnings during build about missing packages when using Python 3.12. This is due to stricter package discovery checks introduced in setuptools 61.0.0 [1], which now warns about directories that could be packages but aren't explicitly configured. While we could address this with explicit package_data configuration, the package already has a correct MANIFEST.in file that handles static file inclusion. This change: - Removes redundant package_data configuration from setup.py - Relies on the existing MANIFEST.in pattern for static files - Uses find_namespace_packages() to properly handle package structure - Keeps include_package_data=True to ensure MANIFEST.in is respected This approach is more maintainable as: 1. All static file patterns are managed in one place (MANIFEST.in) 2. New static files are automatically included if they follow the existing directory structure 3. setuptools will warn us if files specified in MANIFEST.in are missing The change makes the package compatible with Python 3.12's stricter package discovery while maintaining a clean and maintainable solution for static file handling. [1] https://setuptools.pypa.io/en/latest/history.html#v61-0-0 [2] https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
- Loading branch information