Adds a command to setup.py for displaying metadata about the package.
Project description
setuptools-metadata 0.1.1 - 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-0.1.1
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-0.1.1
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for setuptools-metadata-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3568dbfe93fa83880cd049fb96c0e5080d197d4c37257f3030c9a38268db9d30 |
|
MD5 | 5d43e53da701651447a3d0e29e722e6d |
|
BLAKE2b-256 | a8bb23ecbb5096a239e4835a6afd89dd7cac2d3b982c7e0ffb0b55738d39db14 |
Close
Hashes for setuptools_metadata-0.1.1-py27-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81da1f118ac2aacd7c74aaaf6cfeba6538def913ebfd7dbc13c30149286c136a |
|
MD5 | 8ef9da942e7f9d82b73b39b725d65109 |
|
BLAKE2b-256 | fbc72b0450e3caebd4e05e6b9acfcb7b14108b2292c6bc2a52f8eda2c35e5317 |