From bd4208607be93b91f9a8a74f63c17dd1f4f1f5b5 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Mon, 21 Jul 2025 15:53:51 -0400 Subject: [PATCH] wiki: update pip install instructions --- wiki/Install-GAM-as-Python-Library.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/wiki/Install-GAM-as-Python-Library.md b/wiki/Install-GAM-as-Python-Library.md index 3ea221bd..5929f4ff 100644 --- a/wiki/Install-GAM-as-Python-Library.md +++ b/wiki/Install-GAM-as-Python-Library.md @@ -1,20 +1,14 @@ # Install GAM as Python Library -Thanks to Jay Lee for showing me how to do this. - -On Windows, you need to install Git to use the pip command. -* See: https://pythoninoffice.com/python-pip-install-from-github/ - -Scroll down to Install Git You can install GAM as a Python library with pip. ``` -pip install git+https://github.com/GAM-team/GAM.git#subdirectory=src +pip install gam7 ``` Or as a PEP 508 Requirement Specifier, e.g. in requirements.txt file: ``` -gam-for-google-workspace @ git+https://github.com/GAM-team/GAM.git#subdirectory=src +gam7 ``` Or a pyproject.toml file: @@ -23,13 +17,13 @@ Or a pyproject.toml file: name = "your-project" # ... dependencies = [ - "gam-for-google-workspace @ git+https://github.com/GAM-team/GAM.git#subdirectory=src" + "gam7" ] ``` -Target a specific revision or tag: +Target a specific version: ``` -gam-for-google-workspace @ git+https://github.com/GAM-team/GAM.git@v7.12.01#subdirectory=src +gam7==/7.13.3 ``` ## Using the library