From e28a3ac699c8e75a7ed4077ce4c961c55ba80fb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Regamey=20Beno=C3=AEt?= Date: Tue, 6 Feb 2024 11:31:59 +0100 Subject: [PATCH] fix github repo url in doc --- README.md | 4 ++-- docs/getting-started.md | 26 +++----------------------- 2 files changed, 5 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 6c1bd2e..8a8d8c5 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ All documentation is available [here](https://geoadmin.github.io/lib-geopycat/). ## Installation **Using pip** - install from github ``` -pip install git+https://github.com/benoitregamey/geopycat.git +pip install git+https://github.com/geoadmin/lib-geopycat.git ``` **From swisstopo network** - through proxy (using powershell) ``` -& "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts\pip3" install --trusted-host github.com --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --proxy=proxy-bvcol.admin.ch:8080 git+https://github.com/benoitregamey/geopycat.git +& "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts\pip3" install --trusted-host github.com --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --proxy=proxy-bvcol.admin.ch:8080 git+https://github.com/geoadmin/lib-geopycat.git ``` diff --git a/docs/getting-started.md b/docs/getting-started.md index 2edf57c..ab751dd 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -7,35 +7,15 @@ The package requires `python 3` **Using pip** - install from github ```console -$ pip install git+https://github.com/benoitregamey/geopycat.git +$ pip install git+https://github.com/geoadmin/lib-geopycat.git ---> 100% Installed ``` **From swisstopo network** - through proxy (using powershell) ```console -& "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts\pip3" install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host github.com --proxy=proxy-bvcol.admin.ch:8080 git+https://github.com/benoitregamey/geopycat.git +& "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts\pip3" install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host github.com --proxy=proxy-bvcol.admin.ch:8080 git+https://github.com/geoadmin/lib-geopycat.git ``` **Install an older version** ```console -$ pip install git+https://github.com/benoitregamey/geopycat.git@version -``` - -## Not having **git** installed ? -Download the package as a zip file -```console -$ curl -L0 https://github.com/benoitregamey/geopycat/archive/refs/heads/main.zip --output geopycat.zip -``` -Unzip it, if on UNIX -```console -$ unzip geopycat.zip -``` -Go into the directory and install the package from here -```console -$ cd geopycat-main -$ pip3 install . -``` -If on **swisstopo network** -```console -cd geopycat-main -& "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts\pip3" install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --proxy=proxy-bvcol.admin.ch:8080 . +$ pip install git+https://github.com/geoadmin/lib-geopycat.git@version ```