tools to supplement packaging Python releases
Tools for packaging.
License is indicated in the project metadata (typically one or more of the Trove classifiers). For more details, see this explanation.
A distutils command for reporting the dependency tree as resolved by setuptools. Use after installing a package.
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" firstname.lastname@example.org $ 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.
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)
- copyright (same as author)
- 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:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|jaraco.packaging-4.1-py2.py3-none-any.whl (9.6 kB) Copy SHA256 Checksum SHA256||py2.py3||Wheel||Apr 2, 2017|
|jaraco.packaging-4.1.tar.gz (8.8 kB) Copy SHA256 Checksum SHA256||–||Source||Apr 2, 2017|