1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-24 18:30:00 -05:00

Remove --force-reinstall from pip cmd

We have bumpped version for vapi-client-bindings from 1.3.0 to 3.0.0. Note that there is no incompatible API changes in the new API bindings. The change is mainly because we had published 2.5 and 2.6 versions long time ago. In order to avoid confusion we decided to bump the version to 3.0.0 so a newer version can be upgraded even you have 2.5/2.6 installed locally. Hence the --force-reinstall arguments is no longer needed.
This commit is contained in:
Tianhao He 2019-06-04 16:47:50 +08:00 committed by GitHub
parent 97ded6f385
commit 139b15797d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ See example below for specifying the --extra-index-url parameter.
```cmd ```cmd
git clone https://github.com/vmware/vsphere-automation-sdk-python.git git clone https://github.com/vmware/vsphere-automation-sdk-python.git
cd vsphere-automation-sdk-python cd vsphere-automation-sdk-python
pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url file:///<absolute_path_to_sdk>/lib pip install --upgrade -r requirements.txt --extra-index-url file:///<absolute_path_to_sdk>/lib
``` ```
Example pip install command on Mac OSX. Example pip install command on Mac OSX.
@ -56,15 +56,15 @@ Example pip install command on Mac OSX.
*NOTE*: Be sure to change username "strefethen" to your username: *NOTE*: Be sure to change username "strefethen" to your username:
```cmd ```cmd
pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url file:///Users/strefethen/github/vsphere-automation-sdk-python/lib pip install --upgrade -r requirements.txt --extra-index-url file:///Users/strefethen/github/vsphere-automation-sdk-python/lib
or or
pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url file://$PWD/lib pip install --upgrade -r requirements.txt --extra-index-url file://$PWD/lib
``` ```
Example pip install command on Windows. Example pip install command on Windows.
```cmd ```cmd
pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url file:\\\C:\Users\strefethen\github\vsphere-automation-sdk-python\lib pip install --upgrade -r requirements.txt --extra-index-url file:\\\C:\Users\strefethen\github\vsphere-automation-sdk-python\lib
``` ```
**NOTE:** The SDK also requires OpenSSL 1.0.1+ if you want to connect to vSphere 6.5+ in order to support TLS1.1 & 1.2 **NOTE:** The SDK also requires OpenSSL 1.0.1+ if you want to connect to vSphere 6.5+ in order to support TLS1.1 & 1.2