Skip to content

Commit

Permalink
readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jhilgart committed Apr 15, 2024
1 parent 273e5e8 commit 8bb9a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 8bb9a4f

Please sign in to comment.