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.

Request Feature / Support
1,224+
Total Calculations Run
< 15ms
Browser Execution Speed
100%
Client-Side Privacy
4.9 / 5.0
User Satisfaction
AI Web Tool Generator

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.

Popular ideas:
100% FREE • No Credit Card Required

About This Tool

This tool analyzes packaging metadata related to data files for Python projects, focusing on data_files entries in setup.py and patterns in MANIFEST.in. It identifies which files are included in distributions (sdist and wheel) and flags common gaps such as missing data files or overly broad patterns. The analysis is designed for project maintainers, release engineers, and CI workflows seeking reproducible packaging.
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

  1. Provide inputs: specify the project root and optional paths to setup.py and MANIFEST.in.
  2. Run analysis: trigger the tool to parse packaging metadata and locate data_files entries.
  3. Review outputs: inspect included file list, patterns, and size estimates.
  4. Apply recommendations: adjust setup.py or MANIFEST.in to include missing files or exclude unnecessary ones.
  5. Export results: download or copy a packaging report for audits.
How to use tool setuptools data files

Frequently Asked Questions

Find Quick Answers

What inputs are required to run the tool?
You provide the project root and, optionally, paths to setup.py and MANIFEST.in. If not provided, the tool attempts automatic discovery. No network access is required.
What outputs does the tool generate?
A data-file inventory, a list of missing or excluded files, size estimates for the distribution, and a validity report including potential misconfigurations. Outputs are designed for human review and can be exported.
How does it handle dynamic data files or generated assets?
It analyzes static declarations in setup.py and MANIFEST.in; dynamically generated data at build time may not be detected. The tool marks such cases as potential gaps and suggests explicit declarations.
How can I resolve common packaging issues?
Update setup.py or MANIFEST.in to include missing files, remove redundant patterns, verify with wheel/sdist builds, and re-run analysis. Use the export report to guide CI checks.

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.

Register Free Account

Related Tools

Other useful calculators and utilities you might like

Developer Tools

Spotify to MP3 Converter

Convert Spotify tracks and playlists to MP3 format instantly with our free online converter.

Developer Tools

Road Distance Calculator

Calculate the driving distance and travel time between two addresses with our free online road dista...

Developer Tools

Age Calculator

Calculate your exact age in years, months, and days from any birth date to any target date.

Developer Tools

Currency Converter

Convert currencies instantly with real-time exchange rates and historical data support.

Your Feedback Matters

Help Us to Improve