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/travis/jaraco/jaraco.packaging/master.svg https://readthedocs.org/projects/jaracopackaging/badge/?version=latest

Tools for packaging.

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-5.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jaraco.packaging-5.0-py2.py3-none-any.whl (11.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for jaraco.packaging-5.0.tar.gz
Algorithm Hash digest
SHA256 e512c1e8961c624d13a93a7e5fd4119131812e6c899f63e54ed2153c3524d202
MD5 1f3cc267624dbf53ead13b0c9433e5a2
BLAKE2b-256 4451794ce563c40f5c292b321bcc4a5550666e75b1cd3ce64316d94299af8363

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jaraco.packaging-5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4154501cfcd1e47f342356b4d89c885db1e8e34abbec4e006ebc13654df6d0b2
MD5 afa26e0acf6acede75fe5e72c962316b
BLAKE2b-256 71fb62af8563414a7428c9a17dc4a100a1f3d97971f77d307d1d71d4336c7e7f

See more details on using hashes here.

Supported by

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