Skip to main content
setuptools-metadata - Adds metadata command to setup.py

Using custom_metadata in setup call

from setuptools import setup
setup(
name='spam',
custom_metadata={
'x_str': 'bla',
'x_int': 23,
'x_list': ['a', 'b', 'c']})

Using 'setup.py metadata'

./setup.py metadata --key=install_requires
pygraphviz
lxml
another-package

This prints out the 'install_requires' setup keyword argument.

If it can't find the requested key, it will also search the custom_metadata dict:

./setup.py metadata --key=x_str
bla

./setup.py metadata --key=x_int
23

./setup.py metadata --key=x_list
a
b
c

Installing

Install it into your system Python like this:

sudo pip install setuptools-metadata

Metadata

Release files for setuptools-metadata 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for setuptools-metadata 0.1.5
File Size Uploaded Provenance Actions
setuptools-metadata-0.1.5.tar.gz 2.0 kB Without provenance Details for setuptools-metadata-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for setuptools-metadata 0.1.5
File Interpreter ABI Platform Actions
setuptools_metadata-0.1.5-py2-none-any.whl Python 2 none any Details for setuptools_metadata-0.1.5-py2-none-any.whl

Total release size: 5.8 kB

Release files / setuptools-metadata-0.1.5.tar.gz

Download URL setuptools-metadata-0.1.5.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
acc0e33ba6d38ef782e4aaf229cc2f4a793959c6eb11284ec3481697f335a437
BLAKE2b-256 checksum
How to use checksums
4bd8b9ae393c6bb5848874363299e521fd680319426e26f2ac77e55c780702e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / setuptools_metadata-0.1.5-py2-none-any.whl

Download URL setuptools_metadata-0.1.5-py2-none-any.whl
Size 3.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
d8e41e492fc77aa28a6718885e9ae46b697619cdf8e58009ea7920855a9ab66c
BLAKE2b-256 checksum
How to use checksums
b01939248c3725cc11e2cc72146af2e9891441fb0d10a90c97e9c7ce8f6edd84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for setuptools-metadata 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page