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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file sdist_check-0.1.tar.gz.

File metadata

  • Download URL: sdist_check-0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sdist_check-0.1.tar.gz
Algorithm Hash digest
SHA256 2882731dea34e97383c46565ecc3405059830dbec6631515c1aa2efaa6ac5621
MD5 3b1df12b1ea77ae33679e609b0cb726a
BLAKE2b-256 e97df46475006c274d7fc923195868f28e9d61b4275a0c04289db46b6d435a0f

See more details on using hashes here.

File details

Details for the file sdist_check-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sdist_check-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 165cac4467a55ea977f0ccacbd58e09fba5f4cb6c895408874cedf72979094eb
MD5 3a5edc50439722d16ad4b8d924c8f6ab
BLAKE2b-256 2a5ce8ce51add944fc66cb89c3a3b50d6df7c7ddef19e82737a2c38e06ec1157

See more details on using hashes here.

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