setup.cfg helper
Project description
Install
$ [sudo] pip install setupcfg
Classes
setupcfg.cfg.Setupcfg
- setup.cfg
generator class. dict/attr access
Setupcfg methods |
__doc__ |
---|---|
load(path='setup.cfg') |
load from setup.cfg file |
save(path='setup.cfg') |
save to setup.cfg file |
string() |
return string representation |
Functions
function | __doc__ |
---|---|
setupcfg.get(section, option, default=None) |
return the value for option if option is in the setup.cfg , else default |
setupcfg.load(path='setup.cfg') |
return dictionary with setup.cfg sections dictionaries |
setupcfg.values.string(value) |
Convert a value to a setup.cfg value string |
setupcfg.values.value(string) |
Convert a string to a python value |
Cli
usage | __doc__ |
---|---|
python -m setupcfg.metadata.description [description] |
read/write setup.cfg [metadata] description |
python -m setupcfg.metadata.keywords [keywords] |
read/write setup.cfg [metadata] keywords |
python -m setupcfg.metadata.name [name] |
read/write setup.cfg [metadata] name |
python -m setupcfg.metadata.url [url] |
read/write setup.cfg [metadata] url |
python -m setupcfg.metadata.version [version] |
read/write setup.cfg [metadata] version |
python -m setupcfg.options.install_requires [requires ...] |
read/write setup.cfg [options] install_requires |
python -m setupcfg.options.packages [package ...] |
read/write setup.cfg [options] packages |
python -m setupcfg.options.py_modules [module ...] |
read/write setup.cfg [options] py_modules |
python -m setupcfg.options.scripts [script ...] |
read/write setup.cfg [options] scripts |
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
setupcfg-2019.3.5.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for setupcfg-2019.3.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb9398afc0180c929147e536d885d030ce8502101247f0f3abfb8073b37b33fb |
|
MD5 | 1cb4194c62844d15e372167688fd2f68 |
|
BLAKE2b-256 | 738fd5e75721924af2e74a6c007016dbf7ed3e4b287daa690532be2f85e65223 |