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://dev.azure.com/jaraco/jaraco.packaging/_apis/build/status/jaraco.jaraco.packaging?branchName=master https://img.shields.io/travis/jaraco/jaraco.packaging/master.svg Code style: Black 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-8.1.0.tar.gz (15.3 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-8.1.0-py36-none-any.whl (7.7 kB view details)

Uploaded Python 3.6

File details

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

File metadata

  • Download URL: jaraco.packaging-8.1.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for jaraco.packaging-8.1.0.tar.gz
Algorithm Hash digest
SHA256 1450abc9143f26564c1e210776ff3043d0eb82ca7bed0e800e898056615597f7
MD5 e255f3d73c0eb676826b8a35256852c5
BLAKE2b-256 4f4a26b1b91079e189ec4e8bb151a0f500607265e9b2e6e1fc0b3e8105dee95e

See more details on using hashes here.

File details

Details for the file jaraco.packaging-8.1.0-py36-none-any.whl.

File metadata

  • Download URL: jaraco.packaging-8.1.0-py36-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3.6
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for jaraco.packaging-8.1.0-py36-none-any.whl
Algorithm Hash digest
SHA256 9b057272c03fdc49d57d47af889fa7e9193a52cc7f8d219d07177626d4ad600f
MD5 2704bd333efaf2545fdfbb66ac9dc172
BLAKE2b-256 7fc8f94ce2f3cd65b4bd39698e67201eac5f10425d320ce1cf7faaba47b5f6f2

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