Skip to main content

setuptools sdist checker.

Project description

sdist_check

bdg-build | sources | issues

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

$ python setup.py 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 setup.py sdist_check --help
Common commands: (see '--help-commands' for more)

  setup.py build      will build the package underneath 'build/'
  setup.py 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
                           reStructuredText-compliant
  --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 "*~".

Changes

0.1 (2015-10-06)

  • Initial release.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

sdist_check-0.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

sdist_check-0.1-py2.py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page