Skip to main content

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.

Release files for sdist_check 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sdist_check 0.1
File Size Uploaded
sdist_check-0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sdist_check 0.1
File Interpreter ABI Platform
sdist_check-0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 9.1 kB

Release files / sdist_check-0.1.tar.gz

Download URL sdist_check-0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2882731dea34e97383c46565ecc3405059830dbec6631515c1aa2efaa6ac5621
BLAKE2b-256 checksum
How to use checksums
e97df46475006c274d7fc923195868f28e9d61b4275a0c04289db46b6d435a0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sdist_check-0.1-py2.py3-none-any.whl

Download URL sdist_check-0.1-py2.py3-none-any.whl
Size 5.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
165cac4467a55ea977f0ccacbd58e09fba5f4cb6c895408874cedf72979094eb
BLAKE2b-256 checksum
How to use checksums
2a5ce8ce51add944fc66cb89c3a3b50d6df7c7ddef19e82737a2c38e06ec1157
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page