1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-21 17:29:59 -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:
bhagatp10 2024-11-11 17:25:42 +05:30 committed by GitHub
parent 0e0b932112
commit 145786b88f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
``` ```