tools to supplement packaging Python releases
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jaraco.packaging-6.0.tar.gz
.
File metadata
- Download URL: jaraco.packaging-6.0.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 789a3be31bc36b464e39bc5a2afc31413ba5849dc6750a9783b22dfbdbaad7e4 |
|
MD5 | a924973fd4ede8dd106d35bc8ec79fdd |
|
BLAKE2b-256 | 35808fe7297e75c88a3b6a2d4e649be0480b6899c0adedf1a3a49a05eb3e1b9e |
File details
Details for the file jaraco.packaging-6.0-py2.py3-none-any.whl
.
File metadata
- Download URL: jaraco.packaging-6.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81b7e3646c839fe616f1aee617926547a139fdb3822bdd9becc3e9074b470376 |
|
MD5 | 648092d103d4d1a0bd5a457da21f962e |
|
BLAKE2b-256 | fe0b135bd3dc59d688aa29f12a5f431754e9fc5c2f09f9d758fe221a10e273d2 |