From 8bb9a4fe9a0dab1a987c751db2910adc02304e07 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Mon, 15 Apr 2024 14:48:37 -0700 Subject: [PATCH] readme updates --- Makefile | 5 +---- README.md | 8 +------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 32fae2df..3f29b275 100644 --- a/Makefile +++ b/Makefile @@ -12,12 +12,9 @@ install-python-3.8: @echo "Python 3.8 not found. Installing Python 3.8 using pyenv." @pyenv install 3.8 @pyenv local 3.8 - + check-deps: @command -v poetry >/dev/null 2>&1 || $(MAKE) install-poetry - @command -v pyenv >/dev/null 2>&1 || $(MAKE) install-pyenv - @echo "Setting Python version to 3.8 using pyenv." - -@pyenv local 3.8 || $(MAKE) install-python-3.8 shell: check-deps ## Get into a poetry shell diff --git a/README.md b/README.md index 05f4df05..71145c12 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,7 @@ The `Semantic Model Generator` is used to generate a semantic model for use in y This project uses `poetry` to manage dependencies and we recommend `pyenv` for python version management. 1. `make setup` -* If you are missing brew, it will be installed with `make install-brew` -* If you are missing poetry, it will be installed with`make install-poetry` -* If you are missing pyenv, it will be installed with`make install-pyenv` -* If you are missing python 3.8, it will be installed with: -```bash -pyenv install 3.8 -``` +* make setup will install poetry if needed. Next, export your credentials as environment variables. Note, `host` is optional depending on your Snowflake deployment.