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']

make-tree

A utility for taking output from pipdeptree --json and producing a tree rooted at a given package.

Usage:

pipdeptree --json | python -m jaraco.packaging.make-tree mypkg

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

Uploaded Source

Built Distribution

jaraco.packaging-5.2-py2.py3-none-any.whl (10.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: jaraco.packaging-5.2.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for jaraco.packaging-5.2.tar.gz
Algorithm Hash digest
SHA256 752555a5f595a62941bb74ffd2ae6e8377abc299f0b1d375c5e0a2ee671c49b4
MD5 51ca2324ffd4c72ee0bf3e485f98a087
BLAKE2b-256 09057fca7f92ed3d1a1261c1d04b145fbfdcba8b042fd989da86f5e69934071e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: jaraco.packaging-5.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for jaraco.packaging-5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8b0d748c5ee8f379183a0086fa5d733618d55a1e0f472d704249a9a00712547e
MD5 cbfa08a89adb64d024e7fa253332b068
BLAKE2b-256 97c83605bbaa34525111290d4bd2ef0ac2df3200e6343acdebd7e242350b0488

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