talira

check-manifest

Check a Python package's MANIFEST.in for missing files

open sourceMITfree

check-manifest compares the files under version control in a Python project with the files that end up in its source distribution, and reports anything missing before you upload a broken package to PyPI. It can create a MANIFEST.in or append suggested rules to one, takes ignore patterns from pyproject.toml, setup.cfg or tox.ini, and runs as a pre-commit hook.

Ways to install

Package managers

Problems it solves

  • make sure my Python sdist includes every file before uploading to PyPI
  • find files missing from my MANIFEST.in
  • check Python packaging in a pre-commit hook

Features

  • compares version-controlled files with the sdist
  • creates or updates MANIFEST.in with suggested rules
  • ignore patterns in pyproject.toml, setup.cfg or tox.ini
  • pre-commit hook

Alternatives

The same job

These do what check-manifest does.

  1. shiplist Put every file in a repository in exactly one list, and check what ships in your Docker images and packages
  2. build Simple, correct build frontend for Python packages

Compare check-manifest with the top 3