summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom <tomfleet2018@gmail.com>2021-07-27 16:58:35 +0100
committerGitHub <noreply@github.com>2021-07-27 17:58:35 +0200
commit2fa7f56cec447a029ac612f0ff12eb8605c963af (patch)
treebbcc8f5c8f89dc6c4ea7ca65806b2aa90aa08b10 /docs
parent82f68a0a393efc5d4bf38c13b64448d89e4bacd0 (diff)
feat(package): Support package version from setup.cfg (python). (#2890)
* Support package version from setup.cfg (python). Add an additional package version extraction function to parse the 'version' attribute under the 'metadata' section in a python package 'setup.cfg' file. Also add similar tests from the poetry extraction function to test the desired behaviour. This adds a dependency on ConfigParser: https://crates.io/crates/configparser. * Clean up comments * Use rust_ini over ConfigParser * Add mention to setup.cfg version parsing in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/config/README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/config/README.md b/docs/config/README.md
index e525224ca..5ba450c4e 100644
--- a/docs/config/README.md
+++ b/docs/config/README.md
@@ -2096,6 +2096,7 @@ package, and shows its current version. The module currently supports `npm`, `ni
- [**nimble**](https://github.com/nim-lang/nimble) - The `nimble` package version is extracted from the `*.nimble` file present in the current directory with the `nimble dump` command
- [**poetry**](https://python-poetry.org/) – The `poetry` package version is extracted from the `pyproject.toml` present
in the current directory
+- [**python**](https://www.python.org) - The `python` package version is extracted from the `setup.cfg` present in the current directory
- [**composer**](https://getcomposer.org/) – The `composer` package version is extracted from the `composer.json` present
in the current directory
- [**gradle**](https://gradle.org/) – The `gradle` package version is extracted from the `build.gradle` present