This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
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 History

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 Files

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
setuptools_metadata-0.1.5-py2-none-any.whl (3.8 kB) Copy SHA256 Checksum SHA256 py2 Wheel Jan 20, 2015
setuptools-metadata-0.1.5.tar.gz (2.0 kB) Copy SHA256 Checksum SHA256 Source Jan 20, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting