Skip to content

Commit

Permalink
fix github repo url in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Regamey Benoît committed Feb 6, 2024
1 parent edb3721 commit e28a3ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
26 changes: 3 additions & 23 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit e28a3ac

Please sign in to comment.