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
setuptools-metadata-0.1.5.tar.gz 2.0 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

1 release file

0.1.3

1 release file

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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