mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-23 18:10:00 -05:00
Adding a wheel files installation in lib directory on Windows system (#431)
Signed-off-by: Prajwal Bhagat <prajwal.bhagat@broadcom.com> Co-authored-by: Prajwal Bhagat <prajwal.bhagat@broadcom.com>
This commit is contained in:
parent
0e0b932112
commit
145786b88f
@ -65,18 +65,13 @@ pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-pytho
|
|||||||
##### 2. Local installation
|
##### 2. Local installation
|
||||||
Local installation can be used in an environment which either do not have Github access or users do not want to install from Github repository.
|
Local installation can be used in an environment which either do not have Github access or users do not want to install from Github repository.
|
||||||
|
|
||||||
Install all the wheel files from SDK's lib directory.
|
|
||||||
```cmd
|
|
||||||
pip install -U lib/*/*.whl
|
|
||||||
```
|
|
||||||
Install dependencies like *lxml* and *pyvmomi* from PyPI as other requirements were installed from SDK's lib directory.
|
|
||||||
```cmd
|
```cmd
|
||||||
pip install -U <SDK_DIRECTORY_PATH>
|
pip install -U <SDK_DIRECTORY_PATH>
|
||||||
```
|
```
|
||||||
Where <SDK_DIRECTORY_PATH> is either install directory of the SDK or location of SDK's zip
|
Where <SDK_DIRECTORY_PATH> is either install directory of the SDK or location of SDK's zip
|
||||||
e.g.
|
e.g.
|
||||||
```
|
```
|
||||||
pip install -U /root/vsphere-automation-sdk-python
|
pip install -U vsphere-automation-sdk-python
|
||||||
Or
|
Or
|
||||||
pip install -U vsphere-automation-sdk-python-8.0.0.0.zip
|
pip install -U vsphere-automation-sdk-python-8.0.0.0.zip
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user