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:
parent
635750b5b2
commit
849ecd82ff
10
README.md
10
README.md
@ -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
|
||||
|
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