From 7568a94560b2381f7d7ba77f2c64473cf6842110 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 19 Jul 2020 13:15:24 -0500 Subject: Add more info on installation with poetry and zsh --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index c7eebda..3a54880 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ JSON, YAML, or TOML. For the time being, it only supports INI and JSON. ## Installation -Config File is available to download through PyPI using pip. +Config File is available to download through PyPI. ```bash $ pip install config-file @@ -29,6 +29,24 @@ If you want to manipulate YAML and TOML, you'll want to download the extras as w $ pip install config-file[yaml, toml] ``` +You can also use Poetry. + +```bash +$ poetry install config-file -E yaml -E toml +``` + +If you use ZSH as your shell, brackets (`[]`) are used for glob matching +and you'll have to put the package name in quotes if you're downloading +the extras too. + +```zsh +% pip install 'config-file[yaml, toml]' + +OR + +% noglob pip install config-file[yaml, toml] +``` + ## Usage Say you have an INI file you want to manipulate. It must have an .ini -- cgit v1.2.3