Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

setuptools sdist checker.

Project description


bdg-build | sources | issues

setuptools plugin providing a new command sdist_check. It is run like any other regular setuptools command:

$ python sdist_check
running sdist_check

and does some additional checks compared to the setuptools built-in command check. For instance it scans distributions built with sdist for files you most probably do not want to be part of the distribution.

A list of all supported options of the sdist_check command can be retrieved like this:

$ python sdist_check --help
Common commands: (see '--help-commands' for more) build      will build the package underneath 'build/' install    will install the package


Options for 'sdist_check' command:
  --metadata (-m)          Verify meta-data
  --restructuredtext (-r)  Checks if long string meta-data syntax are
  --strict (-s)            Will exit with an error if a check fails
  --badfiles (-b)          Check files included in dist for unusual names


The badfiles option is a list of filename patterns which are considered as non-wanted in distributions. By default, we look for files named like "*~".


0.1 (2015-10-06)

  • Initial release.

Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sdist_check, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size sdist_check-0.1-py2.py3-none-any.whl (5.1 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size sdist_check-0.1.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page