mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-21 09:19:59 -05:00
Remove Python 2.x reference.
Signed-off-by: Ankit Agrawal <aagrawal3@vmware.com>
This commit is contained in:
parent
635750b5b2
commit
849ecd82ff
14
README.md
14
README.md
@ -22,7 +22,7 @@ The samples have been developed to work with python 3.8+
|
||||
|
||||
## Supported OnPrem vCenter Releases
|
||||
vCenter 6.5, 6.7, 7.0, 7.0U1, 7.0U2 and 7.0U2 mp1, 7.0U3, 7.0.3.2
|
||||
Certain APIs and samples that are introduced in 6.5 release, such as vCenter, Virtual Machine and Appliance Management. Please refer to the notes in each sample for detailed compatibility information.
|
||||
Certain APIs and samples that are introduced in 6.5 release, such as vCenter, Virtual Machine and Appliance Management. Please refer to the notes in each sample for detailed compatibility information.
|
||||
|
||||
## Supported NSX-T Releases
|
||||
NSX-T 2.2 - 4.0 and VMC 1.7 - 1.20
|
||||
@ -34,15 +34,13 @@ VMC M20 (1.20) ([Release Notes](https://docs.vmware.com/en/VMware-Cloud-on-AWS/0
|
||||
|
||||
### Prepare a Python Development Environment
|
||||
|
||||
We recommend you to install latest [Python](http://docs.python-guide.org/en/latest/starting/installation/) and
|
||||
[pip](https://pypi.python.org/pypi/pip/) on your system.
|
||||
We recommend you to install latest [Python](http://docs.python-guide.org/en/latest/starting/installation/) and [pip](https://pypi.python.org/pypi/pip/) on your system.
|
||||
|
||||
A Python virtual environment is also highly recommended.
|
||||
* [Install a virtual env for Python 2](https://virtualenv.pypa.io/en/stable/)
|
||||
* [Install a virtual env for Python 3](https://docs.python.org/3/tutorial/venv.html)
|
||||
|
||||
### Installing Required Python Packages
|
||||
SDK package installation commands may differ depending on the environment where it is being installed. The three installation options provided below are for different environments.
|
||||
SDK package installation commands may differ depending on the environment where it is being installed. The three installation options provided below are for different environments.
|
||||
*pip* and *setuptools* are common requirements for these installation types, upgrade to the latest *pip* and *setuptools*.
|
||||
|
||||
**NOTE:** The SDK also requires OpenSSL 1.0.1+ in order to support TLS1.1 & 1.2
|
||||
@ -54,14 +52,10 @@ Install/Update latest pip from PyPI
|
||||
```cmd
|
||||
pip install --upgrade pip
|
||||
```
|
||||
Install/Update setuptools to version 62.0.0 for python version > 3.6
|
||||
Install/Update setuptools to version 62.0.0
|
||||
```cmd
|
||||
pip install --upgrade setuptools==62.0.0
|
||||
```
|
||||
for older python versions Install/Update setuptools to version 36.2.0
|
||||
```cmd
|
||||
pip install --upgrade setuptools==36.2.0
|
||||
```
|
||||
Install SDK packages from Github.
|
||||
```cmd
|
||||
pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2,17 +2,11 @@
|
||||
lxml >= 4.3.0
|
||||
pyVmomi >= 6.7
|
||||
six (>=1.12)
|
||||
###### Different dependency requirements for different python version ######
|
||||
pyOpenSSL (==19.1.0); python_version <= "3.6"
|
||||
cryptography (<3.0,>=2.8); python_version <= "3.6"
|
||||
setuptools (==36.2.0); python_version <= "3.6"
|
||||
requests (==2.21.0); python_version <= "3.6"
|
||||
idna (>=2.5,<2.9); python_version <= "3.6"
|
||||
|
||||
requests (==2.27.1); python_version > "3.6"
|
||||
pyOpenSSL (==22.0.0); python_version > "3.6"
|
||||
cryptography (==36.0.0); python_version > "3.6"
|
||||
setuptools (==62.0.0); python_version > "3.6"
|
||||
requests (==2.27.1)
|
||||
pyOpenSSL (==22.0.0)
|
||||
cryptography (==36.0.0)
|
||||
setuptools (==62.0.0)
|
||||
###### SDK requirements ######
|
||||
vapi-client-bindings == 4.0.0
|
||||
vmc-client-bindings
|
||||
|
@ -3,14 +3,7 @@
|
||||
lxml >= 4.3.0
|
||||
pyVmomi >= 6.7
|
||||
six (>=1.12)
|
||||
###### Different dependency requirements for different python version ######
|
||||
pyOpenSSL (==19.1.0); python_version <= "3.6"
|
||||
cryptography (<3.0,>=2.8); python_version <= "3.6"
|
||||
setuptools (==36.2.0); python_version <= "3.6"
|
||||
requests (==2.21.0); python_version <= "3.6"
|
||||
idna (>=2.5,<2.9); python_version <= "3.6"
|
||||
|
||||
requests (==2.27.1); python_version > "3.6"
|
||||
pyOpenSSL (==22.0.0); python_version > "3.6"
|
||||
cryptography (==36.0.0); python_version > "3.6"
|
||||
setuptools (==62.0.0); python_version > "3.6"
|
||||
requests (==2.27.1)
|
||||
pyOpenSSL (==22.0.0)
|
||||
cryptography (==36.0.0)
|
||||
setuptools (==62.0.0)
|
||||
|
Loading…
Reference in New Issue
Block a user