1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-21 17:29:59 -05:00

Remove Python 2.x reference.

Signed-off-by: Ankit Agrawal <aagrawal3@vmware.com>
This commit is contained in:
aagrawal3 2022-10-17 16:44:21 +05:30
parent 635750b5b2
commit 849ecd82ff
No known key found for this signature in database
GPG Key ID: D6EA3E657D229A55
6 changed files with 12 additions and 31 deletions

View File

@ -34,11 +34,9 @@ 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
@ -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

View File

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

View File

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