Skip to main content
Help us improve Python packaging – donate today!

Adds a command to setup.py for displaying metadata about the package.

Project Description

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

Release history Release notifications

This version
History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
setuptools_metadata-0.1.5-py2-none-any.whl (3.8 kB) Copy SHA256 hash SHA256 Wheel py2 Jan 20, 2015
setuptools-metadata-0.1.5.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None Jan 20, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page