Skip to main content

tools to supplement packaging Python releases

Project description

https://img.shields.io/pypi/v/jaraco.packaging.svg https://img.shields.io/pypi/pyversions/jaraco.packaging.svg https://img.shields.io/pypi/dm/jaraco.packaging.svg https://img.shields.io/travis/jaraco/jaraco.packaging/master.svg

Tools for packaging.

License

License is indicated in the project metadata (typically one or more of the Trove classifiers). For more details, see this explanation.

dependency_tree

A distutils command for reporting the dependency tree as resolved by setuptools. Use after installing a package.

show

A distutils command for reporting the attributes of a distribution, such as the version or author name. Here are some examples against this package:

$ python -q setup.py show
jaraco.packaging 2.8.2.dev1+nfaae9fb96b36.d20151127
$ python -q setup.py show --attributes version
2.8.2.dev1+nfaae9fb96b36.d20151127
$ python -q setup.py show --attributes author,author_email
"Jason R. Coombs" jaraco@jaraco.com
$ python setup.py -q show --attributes classifiers
"['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3']"
$ python setup.py -q show --attributes "description url"
"tools to supplement packaging Python releases" https://bitbucket.org/jaraco/jaraco.packaging

Note that passing -q suppresses the “running show” message.

Attributes may be specified as comma-separated or space-separated keys. Results are printed using subprocess.list2cmdline so may be parsed using shlex.split. By default, ‘name’ and ‘version’ are printed.

sphinx

This package provides a Sphinx extension that will inject into the config the following values from the project’s package metadata (as presented by distutils):

  • project (from name)

  • author

  • copyright (same as author)

  • version

  • release (same as version)

  • package_url (from url)

To enable, include ‘jaraco.packaging’ in your requirements and add ‘jaraco.packaging.sphinx’ to your list of extensions in your config file:

extensions=['jaraco.packaging.sphinx']

Project details


Download files

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

Source Distribution

jaraco.packaging-3.2.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

jaraco.packaging-3.2-py2.py3-none-any.whl (12.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file jaraco.packaging-3.2.tar.gz.

File metadata

File hashes

Hashes for jaraco.packaging-3.2.tar.gz
Algorithm Hash digest
SHA256 5c8cbae229627a99f2cdf494c74071f7276f988dec9e00d174eff420dbd41534
MD5 f8fa25377e560ea1641def7fb5d547b4
BLAKE2b-256 2fbf8595455d5264e027551cab2c3be7982c93c781ed1ea8a434159d010ee2aa

See more details on using hashes here.

Provenance

File details

Details for the file jaraco.packaging-3.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for jaraco.packaging-3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 86febc7190d28810f87ab6efe10df31139e00ac4c93d0b2cedbc92c48d461b73
MD5 903d1e8dc8a856f1dda619615c1f8b0b
BLAKE2b-256 b7c86eea13fc1cc6acba7d37465a5c67aa1df688ce1322d556c90ca60778a5a2

See more details on using hashes here.

Provenance

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