File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,6 +161,36 @@ except GeosupportError as e:
161161 print (e.result[' List of Street Names' ]) # List of suggested alternate names
162162```
163163
164+ #### Switching Between Multiple Versions of Geosupport
165+
166+ <span style =" color :red " >** This feature is Windows only. Linux doesn't support
167+ library path modifications during runtime.** </span >
168+
169+ If you have multiple versions of geosupport and want to switch between them,
170+ you can either pass the installation path to ` Geosupport ` :
171+
172+ ``` python
173+ g = Geosupport(geosupport_path = " C:\\ Program Files\\ Geosupport 18C" )
174+ ```
175+
176+ or create a ` .python-geosupport.cfg ` in your home directory that specifies
177+ the names and installation paths of the different versions.
178+
179+ The ` .python-geosupport.cfg ` file looks like:
180+
181+ ``` txt
182+ [versions]
183+ 18b=C:\Program Files\Geosupport Desktop Edition
184+ 18c=C:\Program Files\Geosupport 18C
185+ 18c_32=C:\Program Files (x86)\Geosupport 18C
186+ ```
187+
188+ Then you can select the version by name:
189+
190+ ``` python
191+ g = Geosupport(geosupport_version = " 18c" )
192+ ```
193+
164194## Development
165195
166196### Running tests
You can’t perform that action at this time.
0 commit comments