From fe1f8f5fe65918809a67964f8d2e5f82742ca7cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Efra=C3=ADn=20D=C3=ADaz?= Date: Tue, 13 Sep 2022 09:28:18 -0700 Subject: [PATCH] Add updated pip instructions Addresses issue raised in #12 --- README.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0adc4b0..985ba73 100644 --- a/README.md +++ b/README.md @@ -30,20 +30,14 @@ devtools::install_github("BlakeRMills/MetBrewer") ``` ### Python -Install the package under the `Python/` directory directly: +Install the package from the main directory via pip: ``` -python setup.py install -``` -or via pip: +pip install git+https://github.com/BlakeRMills/MetBrewer.git#subdirectory=Python + ``` -pip install . +or place the file into your source directory: ``` -or place the file into your source directory. - -Use it in your code: -```python -import met_brewer -colors = met_brew(name="VanGogh1", n=123, brew_type="continuous") +python setup.py install ``` ## Palettes