Setuptools Data Files Analysis
Designed for Python packaging teams and maintainers, it analyzes data file inclusion to streamline distribution-ready packaging and quality checks.
Tool coming soon!
We're working hard to get this tool ready for you.
Build Your Own Custom Web Calculator in Seconds
Type what tool or calculator you need below. Our AI will build it instantly for your site.
About This Tool
Conceptually, the tool parses setup.py to extract data_files or package_data rules, reads MANIFEST.in to resolve include/exclude directives, and walks the project tree to map each file to an inclusion decision. It computes a representative installed size by summing file sizes and applies simple normalization to account for platform differences. It also detects glob patterns and potential dynamic data generation.
Unique value lies in supporting both setup.py data_files and MANIFEST.in, providing a unified report that cross-validates the two sources, and offering concrete recommendations to fix omissions or bloated inclusions. Beneficiaries include open-source projects, enterprise Python teams, and any release process relying on accurate distributions.
Core features include data-file inventories, size estimates, validity checks, cross-source consistency, and exportable summaries suitable for audits. Use cases include pre-release packaging checks, CI gate validations, and historical comparisons to track packaging hygiene improvements.
How to Use
- Provide inputs: specify the project root and optional paths to setup.py and MANIFEST.in.
- Run analysis: trigger the tool to parse packaging metadata and locate data_files entries.
- Review outputs: inspect included file list, patterns, and size estimates.
- Apply recommendations: adjust setup.py or MANIFEST.in to include missing files or exclude unnecessary ones.
- Export results: download or copy a packaging report for audits.
Frequently Asked Questions
Find Quick Answers
What inputs are required to run the tool?
What outputs does the tool generate?
How does it handle dynamic data files or generated assets?
How can I resolve common packaging issues?
Need to run multiple calculations?
Create a free account today to unlock unlimited daily runs, access advanced parameters, save your history, and request custom features.
Related Tools
Other useful calculators and utilities you might like
Spotify to MP3 Converter
Convert Spotify tracks and playlists to MP3 format instantly with our free online converter.
Road Distance Calculator
Calculate the driving distance and travel time between two addresses with our free online road dista...
Your Feedback Matters
Help Us to Improve
Norwegian
Danish
German
English
Spanish
French
Italian
Dutch
Portuguese
Swedish
Hebrew
Arabic