Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPI Package #38

Open
nmaludy opened this issue Oct 24, 2017 · 116 comments
Open

PyPI Package #38

nmaludy opened this issue Oct 24, 2017 · 116 comments

Comments

@nmaludy
Copy link

nmaludy commented Oct 24, 2017

Would it be possible to package this SDK into a PyPI package so it's easier to pip install and define in a requirements.txt file, rather than having to download this repo and "hand install" it?

@tianhao64
Copy link
Contributor

@nmaludy Thanks for the feedback. We are exploring this option. Definitely agree. The install process will be simplified once the dependencies are pushed to pypi.

@easonlau02
Copy link

@tianhao64 Hi, if available for PyPI, which is convenient for usage. Thanks.

@tianhao64 tianhao64 self-assigned this Mar 27, 2018
@Lucas-C
Copy link

Lucas-C commented Jun 8, 2018

Hi.

Some packages have been uploaded to Pypi: https://pypi.org/search/?q=vapi

However the vapi-vmc-client hasn't been uploaded yet : https:/vmware/vsphere-automation-sdk-python/tree/master/lib/vapi-vmc-client :(

@j1n6
Copy link

j1n6 commented Dec 27, 2018

I guess this is still outstanding task. It's probably better to prioritise as as distribution packages are key aspect for developer adoption?
But otherwise, I can't seem to find documentation about how to get this installed properly either. Any hints?

@j1n6
Copy link

j1n6 commented Dec 27, 2018

@Lucas-C It's nice that you've actively pushed this out... but it should have been implemented by the software distributor. Otherwise you are occupying the package name, which non-intentionally confuses the community...

@Lucas-C
Copy link

Lucas-C commented Dec 28, 2018

I haven't pushed myself anything related to VMWare / VSphere on https://pypi.org
I simply pointed out that those packages exist.

@j1n6
Copy link

j1n6 commented Jan 8, 2019

Thanks for the clarification, that makes sense 👍

@Phxntxm
Copy link

Phxntxm commented Jan 16, 2019

Is there any headway on this idea? Simply creating a setup.py file would be a nice start, because then at least we could pip install directly from the repo, i.e.:

pip install git+https:/vmware/vsphere-automation-sdk-python

@j1n6
Copy link

j1n6 commented Feb 12, 2019

@tianhao64 any luck with this?

@tianhao64
Copy link
Contributor

Sorry, missed the previous message. Thanks for the feedback @Phxntxm, will try it out.

@surfer190
Copy link

surfer190 commented Mar 20, 2019

Yes will really boost the ease of use of the package, that will draw in more contributors. Perhaps someone should help @tianhao64 to put it on pypi

@tianhao64
Copy link
Contributor

The reason we can't push these package to pypi is because they contain generated code and the generator is not open sourced yet. AFAIK, only open sourced package can be listed on pypi. Please correct me if I am wrong.

@surfer190
Copy link

Ok. The generated code can be added then (not the generator).
I feel like the first step mentioned about the setup.py can be implemented...I will try it out and maybe send a pull request.

@ghost
Copy link

ghost commented May 15, 2019

If this code could be published to pypi it would really simplify the setup for many people, we have scripts which set up our current python environment for newcomers to the team and adding this to the requirements.txt would really make life easy.

@mariolenz
Copy link
Contributor

Simply creating a setup.py file would be a nice start, because then at least we could pip install directly from the repo, i.e.:

pip install git+https:/vmware/vsphere-automation-sdk-python

Yes, that would definitely be a good thing :-)

But in the long run, I think it should be on PyPi.

@hrupprecht
Copy link

A simple setup.py would really be helpful.

@tianhao64
Copy link
Contributor

I am not sure the current install process can be simplified by a setup.py. AFAIK, setup.py doesn't support dependency wheels that are not on pypi. The dependency_links option only support egg files.

The SDK bindings files depend on runtime and unfortunately we are not ready to open source runtime at this point.

@khnazaretyan
Copy link
Contributor

In setup.py install_requires section it's allowed to specify urls using @. I've tested it in my fork and it seems to be working.

https:/khnazaretyan/vsphere-automation-sdk-python/blob/feat-pip_setup/setup.py

Tested with

pip install git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup

If the implementation looks ok, please let me know who should be mentioned as "Author" for the package and PR will follow.

@tianhao64
Copy link
Contributor

@khnazaretyan This looks promising. It'd be great if it works. Could you post your test result? I try to test it locally, but it failed with:
No local packages or working download links found for nsx-vmc-aws-integration-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
error: Could not find suitable distribution for Requirement.parse('nsx-vmc-aws-integration-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl')

@khnazaretyan
Copy link
Contributor

@tianhao64 Thanks for your feedback. I have tested in CentOS container separately on python 2 and 3 environments. It's green field test, in case some old preinstalled packages exist --upgrade flag might help. Please find below the steps how it was tested:

For python2 environment setuptools must be upgraded (at least for this container).

Python 2 Test

docker run -it centos /bin/bash

yum install -y epel-release

yum install -y python27 python2-pip git
pip install --upgrade pip
hash -d pip
pip install --upgrade setuptools
pip install git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup

Output

[root@840d026b306e /]# pip install git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
  Cloning https:/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to /tmp/pip-req-build-7BEVAy
  Running command git clone -q https:/khnazaretyan/vsphere-automation-sdk-python.git /tmp/pip-req-build-7BEVAy
  Running command git checkout -b feat-pip_setup --track origin/feat-pip_setup
  Switched to a new branch 'feat-pip_setup'
  Branch feat-pip_setup set up to track remote branch feat-pip_setup from origin.
Collecting lxml>=4.3.0 (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/af/31/47cce58942bbf4b8f1c975ec2d1ab52141f7b7cf8cdecb58f25546d2c4fd/lxml-4.3.4-cp27-cp27mu-manylinux1_x86_64.whl (5.6MB)
     |################################| 5.6MB 1.2MB/s
Collecting pyVmomi>=6.7 (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/71/24/0bb1257b3bc89f7b2facdbad91cc56902d116d649a263c242ef32f73110e/pyvmomi-6.7.1.2018.12.zip (632kB)
     |################################| 634kB 2.6MB/s
Collecting vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (236kB)
     |################################| 245kB 1.3MB/s
Collecting vapi-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (497kB)
     |################################| 501kB 1.6MB/s
Collecting vapi-common-client@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (91kB)
     |################################| 92kB 1.2MB/s
Collecting vmc-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (132kB)
     |################################| 133kB 514kB/s
Collecting nsx-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (756kB)
     |################################| 757kB 819kB/s
Collecting nsx-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (543kB)
     |################################| 552kB 1.2MB/s
Collecting nsx-vmc-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (460kB)
     |################################| 460kB 5.9MB/s
Collecting nsx-vmc-aws-integration-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting suds (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/bc/d6/960acce47ee6f096345fe5a7d9be7708135fd1d0713571836f073efc7393/suds-0.4.tar.gz (104kB)
     |################################| 112kB 1.1MB/s
Collecting requests>=2.3.0 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
     |################################| 61kB 7.2MB/s
Collecting six>=1.7.3 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pyOpenSSL>=18.0.0 (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
     |################################| 61kB 7.8MB/s
Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7) (41.0.1)
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
     |################################| 143kB 1.5MB/s
Collecting idna<2.9,>=2.5 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
     |################################| 61kB 6.6MB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
     |################################| 153kB 1.3MB/s
Collecting certifi>=2017.4.17 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB)
     |################################| 163kB 1.3MB/s
Collecting cryptography>=2.3 (from pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/e6/68/50698ce24c61db7d44d93a5043c621a0ca7839d4ef9dff913e6ab465fc92/cryptography-2.7-cp27-cp27mu-manylinux1_x86_64.whl (2.3MB)
     |################################| 2.3MB 1.1MB/s
Collecting enum34; python_version < "3" (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
     |################################| 102kB 3.0MB/s
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl (415kB)
     |################################| 419kB 1.5MB/s
Requirement already satisfied: ipaddress; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7) (1.0.16)
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
     |################################| 163kB 2.9MB/s
Installing collected packages: lxml, chardet, idna, urllib3, certifi, requests, six, pyVmomi, enum34, asn1crypto, pycparser, cffi, cryptography, pyOpenSSL, vapi-runtime, vapi-client-bindings, vapi-common-client, vmc-client-bindings, nsx-python-sdk, nsx-policy-python-sdk, nsx-vmc-policy-python-sdk, nsx-vmc-aws-integration-python-sdk, suds, vSphere-Automation-SDK
  Found existing installation: chardet 2.2.1
    Uninstalling chardet-2.2.1:
      Successfully uninstalled chardet-2.2.1
  Running setup.py install for pyVmomi ... done
  Running setup.py install for pycparser ... done
  Running setup.py install for suds ... done
  Running setup.py install for vSphere-Automation-SDK ... done
Successfully installed asn1crypto-0.24.0 certifi-2019.3.9 cffi-1.12.3 chardet-3.0.4 cryptography-2.7 enum34-1.1.6 idna-2.8 lxml-4.3.4 nsx-policy-python-sdk-2.3.0.0.3.13851140 nsx-python-sdk-2.3.0.0.3.13851140 nsx-vmc-aws-integration-python-sdk-2.3.0.0.3.13851140 nsx-vmc-policy-python-sdk-2.3.0.0.3.13851140 pyOpenSSL-19.0.0 pyVmomi-6.7.1.2018.12 pycparser-2.19 requests-2.22.0 six-1.12.0 suds-0.4 urllib3-1.25.3 vSphere-Automation-SDK-6.8.7 vapi-client-bindings-3.0.0 vapi-common-client-2.12.0 vapi-runtime-2.12.0 vmc-client-bindings-1.6.0

Python 3

docker run -it centos /bin/bash

yum install -y epel-release

yum install -y python36 python36-pip git
pip3 install --upgrade pip
hash -d pip3
pip3 install git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup

Output

[root@00d7369d0f20 /]# pip3 install git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Collecting git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
  Cloning https:/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to /tmp/pip-req-build-jut90n69
  Running command git clone -q https:/khnazaretyan/vsphere-automation-sdk-python.git /tmp/pip-req-build-jut90n69
  Running command git checkout -b feat-pip_setup --track origin/feat-pip_setup
  Switched to a new branch 'feat-pip_setup'
  Branch feat-pip_setup set up to track remote branch feat-pip_setup from origin.
Collecting lxml>=4.3.0 (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/2d/53/34a9f0c79c548e430148837892b6ae91adee571a0e8b6c17bd7ff9c2d12e/lxml-4.3.4-cp36-cp36m-manylinux1_x86_64.whl (5.7MB)
     |################################| 5.7MB 511kB/s
Collecting pyVmomi>=6.7 (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/71/24/0bb1257b3bc89f7b2facdbad91cc56902d116d649a263c242ef32f73110e/pyvmomi-6.7.1.2018.12.zip (632kB)
     |################################| 634kB 768kB/s
Collecting vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (236kB)
     |################################| 245kB 304kB/s
Collecting vapi-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (497kB)
     |################################| 501kB 698kB/s
Collecting vapi-common-client@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (91kB)
     |################################| 92kB 1.0MB/s
Collecting vmc-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (132kB)
     |################################| 133kB 1.1MB/s
Collecting nsx-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (756kB)
     |################################| 757kB 1.0MB/s
Collecting nsx-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (543kB)
     |################################| 552kB 13.2MB/s
Collecting nsx-vmc-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (460kB)
     |################################| 460kB 13.8MB/s
Collecting nsx-vmc-aws-integration-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting suds-jurko (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/bd/6f/54fbf0999a606680d27c69b1ad12dfff62768ecb9fe48524cebda6eb4423/suds-jurko-0.6.tar.bz2 (143kB)
     |################################| 153kB 387kB/s
Collecting requests>=2.3.0 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
     |################################| 61kB 710kB/s
Collecting six>=1.7.3 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pyOpenSSL>=18.0.0 (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
     |################################| 61kB 943kB/s
Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7) (39.2.0)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
     |################################| 153kB 221kB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
     |################################| 143kB 640kB/s
Collecting idna<2.9,>=2.5 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
     |################################| 61kB 1.1MB/s
Collecting certifi>=2017.4.17 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB)
     |################################| 163kB 422kB/s
Collecting cryptography>=2.3 (from pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/97/18/c6557f63a6abde34707196fb2cad1c6dc0dbff25a200d5044922496668a4/cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3MB)
     |################################| 2.3MB 306kB/s
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/5f/bf/6aa1925384c23ffeb579e97a5569eb9abce41b6310b329352b8252cee1c3/cffi-1.12.3-cp36-cp36m-manylinux1_x86_64.whl (430kB)
     |################################| 440kB 406kB/s
Collecting asn1crypto>=0.21.0 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
     |################################| 102kB 739kB/s
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
     |################################| 163kB 531kB/s
Installing collected packages: lxml, urllib3, chardet, idna, certifi, requests, six, pyVmomi, pycparser, cffi, asn1crypto, cryptography, pyOpenSSL, vapi-runtime, vapi-client-bindings, vapi-common-client, vmc-client-bindings, nsx-python-sdk, nsx-policy-python-sdk, nsx-vmc-policy-python-sdk, nsx-vmc-aws-integration-python-sdk, suds-jurko, vSphere-Automation-SDK
  Running setup.py install for pyVmomi ... done
  Running setup.py install for pycparser ... done
  Running setup.py install for suds-jurko ... done
  Running setup.py install for vSphere-Automation-SDK ... done
Successfully installed asn1crypto-0.24.0 certifi-2019.3.9 cffi-1.12.3 chardet-3.0.4 cryptography-2.7 idna-2.8 lxml-4.3.4 nsx-policy-python-sdk-2.3.0.0.3.13851140 nsx-python-sdk-2.3.0.0.3.13851140 nsx-vmc-aws-integration-python-sdk-2.3.0.0.3.13851140 nsx-vmc-policy-python-sdk-2.3.0.0.3.13851140 pyOpenSSL-19.0.0 pyVmomi-6.7.1.2018.12 pycparser-2.19 requests-2.22.0 six-1.12.0 suds-jurko-0.6 urllib3-1.25.3 vSphere-Automation-SDK-6.8.7 vapi-client-bindings-3.0.0 vapi-common-client-2.12.0 vapi-runtime-2.12.0 vmc-client-bindings-1.6.0

@tianhao64
Copy link
Contributor

@khnazaretyan Appreciated for the detailed info and testing. This looks good! We would like to do more testing on different OS and python versions to validate this before merging the PR.

@mariolenz
Copy link
Contributor

docker run -it --rm photon
Photon with Python 2:

root [ / ]# tdnf -qy install python-setuptools python-pip git
using empty dict to provide pw_dict
root [ / ]# pip install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl (1.4MB)
    100% |################################| 1.4MB 8.4MB/s 
Installing collected packages: pip
  Found existing installation: pip 18.0
    Uninstalling pip-18.0:
      Successfully uninstalled pip-18.0
Successfully installed pip-19.1.1
root [ / ]# pip install git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
  Cloning https:/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to /tmp/pip-req-build-42m2xg
  Running command git clone -q https:/khnazaretyan/vsphere-automation-sdk-python.git /tmp/pip-req-build-42m2xg
  Running command git checkout -b feat-pip_setup --track origin/feat-pip_setup
  Switched to a new branch 'feat-pip_setup'
  Branch 'feat-pip_setup' set up to track remote branch 'feat-pip_setup' from 'origin'.
Collecting lxml>=4.3.0 (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/af/31/47cce58942bbf4b8f1c975ec2d1ab52141f7b7cf8cdecb58f25546d2c4fd/lxml-4.3.4-cp27-cp27mu-manylinux1_x86_64.whl (5.6MB)
     |################################| 5.6MB 8.9MB/s 
Collecting pyVmomi>=6.7 (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/71/24/0bb1257b3bc89f7b2facdbad91cc56902d116d649a263c242ef32f73110e/pyvmomi-6.7.1.2018.12.zip (632kB)
     |################################| 634kB 18.4MB/s 
Collecting vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (236kB)
     |################################| 245kB 7.7MB/s 
Collecting vapi-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (497kB)
     |################################| 501kB 8.9MB/s 
Collecting vapi-common-client@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (91kB)
     |################################| 92kB 10.6MB/s 
Collecting vmc-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (132kB)
     |################################| 133kB 7.9MB/s 
Collecting nsx-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (756kB)
     |################################| 757kB 21.0MB/s 
Collecting nsx-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (543kB)
     |################################| 552kB 13.1MB/s 
Collecting nsx-vmc-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (460kB)
     |################################| 460kB 15.9MB/s 
Collecting nsx-vmc-aws-integration-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting suds (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/bc/d6/960acce47ee6f096345fe5a7d9be7708135fd1d0713571836f073efc7393/suds-0.4.tar.gz (104kB)
     |################################| 112kB 9.8MB/s 
Collecting requests>=2.3.0 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
     |################################| 61kB 13.9MB/s 
Collecting six>=1.7.3 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pyOpenSSL>=18.0.0 (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
     |################################| 61kB 14.2MB/s 
Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7) (40.2.0)
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
     |################################| 143kB 24.9MB/s 
Collecting idna<2.9,>=2.5 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
     |################################| 61kB 11.1MB/s 
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
     |################################| 153kB 23.2MB/s 
Collecting certifi>=2017.4.17 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB)
     |################################| 163kB 22.8MB/s 
Collecting cryptography>=2.3 (from pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/e6/68/50698ce24c61db7d44d93a5043c621a0ca7839d4ef9dff913e6ab465fc92/cryptography-2.7-cp27-cp27mu-manylinux1_x86_64.whl (2.3MB)
     |################################| 2.3MB 23.7MB/s 
Collecting enum34; python_version < "3" (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
     |################################| 102kB 18.9MB/s 
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/8d/e9/0c8afd1579e5cf7bc0f06fbcd7cdb954cbc0baadd505973949a99337da1c/cffi-1.12.3-cp27-cp27mu-manylinux1_x86_64.whl (415kB)
     |################################| 419kB 21.2MB/s 
Collecting ipaddress; python_version < "3" (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
     |################################| 163kB 12.0MB/s 
Installing collected packages: lxml, chardet, idna, urllib3, certifi, requests, six, pyVmomi, enum34, asn1crypto, pycparser, cffi, ipaddress, cryptography, pyOpenSSL, vapi-runtime, vapi-client-bindings, vapi-common-client, vmc-client-bindings, nsx-python-sdk, nsx-policy-python-sdk, nsx-vmc-policy-python-sdk, nsx-vmc-aws-integration-python-sdk, suds, vSphere-Automation-SDK
  Running setup.py install for pyVmomi ... done
  Running setup.py install for pycparser ... done
  Running setup.py install for suds ... done
  Running setup.py install for vSphere-Automation-SDK ... done
Successfully installed asn1crypto-0.24.0 certifi-2019.3.9 cffi-1.12.3 chardet-3.0.4 cryptography-2.7 enum34-1.1.6 idna-2.8 ipaddress-1.0.22 lxml-4.3.4 nsx-policy-python-sdk-2.3.0.0.3.13851140 nsx-python-sdk-2.3.0.0.3.13851140 nsx-vmc-aws-integration-python-sdk-2.3.0.0.3.13851140 nsx-vmc-policy-python-sdk-2.3.0.0.3.13851140 pyOpenSSL-19.0.0 pyVmomi-6.7.1.2018.12 pycparser-2.19 requests-2.22.0 six-1.12.0 suds-0.4 urllib3-1.25.3 vSphere-Automation-SDK-6.8.7 vapi-client-bindings-3.0.0 vapi-common-client-2.12.0 vapi-runtime-2.12.0 vmc-client-bindings-1.6.0

Photon with Python 3:

root [ / ]# tdnf -qy install python3-pip python3-setuptools git
using empty dict to provide pw_dict
root [ / ]# pip3 install git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Collecting git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
  Cloning https:/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to /tmp/pip-req-build-3dwluyry
Branch 'feat-pip_setup' set up to track remote branch 'feat-pip_setup' from 'origin'.
Switched to a new branch 'feat-pip_setup'
Collecting lxml>=4.3.0 (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/ef/7a/a42b825b27eaa0deedec913e797dd3e4bef51f21d5f0027a87562342fd25/lxml-4.3.4-cp37-cp37m-manylinux1_x86_64.whl (5.7MB)
    100% |████████████████████████████████| 5.7MB 5.9MB/s 
Collecting pyVmomi>=6.7 (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/71/24/0bb1257b3bc89f7b2facdbad91cc56902d116d649a263c242ef32f73110e/pyvmomi-6.7.1.2018.12.zip (632kB)
    100% |████████████████████████████████| 634kB 15.3MB/s 
Collecting vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (236kB)
    100% |████████████████████████████████| 245kB 9.7MB/s 
Collecting vapi-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (497kB)
    100% |████████████████████████████████| 501kB 12.9MB/s 
Collecting vapi-common-client@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (91kB)
    100% |████████████████████████████████| 92kB 8.8MB/s 
Collecting vmc-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (132kB)
    100% |████████████████████████████████| 133kB 10.8MB/s 
Collecting nsx-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (756kB)
    100% |████████████████████████████████| 757kB 12.9MB/s 
Collecting nsx-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (543kB)
    100% |████████████████████████████████| 552kB 18.0MB/s 
Collecting nsx-vmc-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (460kB)
    100% |████████████████████████████████| 460kB 18.3MB/s 
Collecting nsx-vmc-aws-integration-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Downloading https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting suds-jurko (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/bd/6f/54fbf0999a606680d27c69b1ad12dfff62768ecb9fe48524cebda6eb4423/suds-jurko-0.6.tar.bz2 (143kB)
    100% |████████████████████████████████| 153kB 19.4MB/s 
Collecting requests>=2.3.0 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
    100% |████████████████████████████████| 61kB 10.0MB/s 
Collecting six>=1.7.3 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pyOpenSSL>=18.0.0 (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
    100% |████████████████████████████████| 61kB 11.6MB/s 
Requirement already satisfied: setuptools in /usr/lib/python3.7/site-packages (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7) (40.8.0)
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |████████████████████████████████| 143kB 18.5MB/s 
Collecting certifi>=2017.4.17 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB)
    100% |████████████████████████████████| 163kB 19.2MB/s 
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
    100% |████████████████████████████████| 153kB 17.5MB/s 
Collecting idna<2.9,>=2.5 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
    100% |████████████████████████████████| 61kB 13.4MB/s 
Collecting cryptography>=2.3 (from pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/97/18/c6557f63a6abde34707196fb2cad1c6dc0dbff25a200d5044922496668a4/cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3MB)
    100% |████████████████████████████████| 2.3MB 10.3MB/s 
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/a0/ea/37fe21475c884f88a2ae496cab10e8f84f0cc11137be860af9eb37a3edb9/cffi-1.12.3-cp37-cp37m-manylinux1_x86_64.whl (430kB)
    100% |████████████████████████████████| 440kB 16.7MB/s 
Collecting asn1crypto>=0.21.0 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
    100% |████████████████████████████████| 102kB 14.6MB/s 
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
    100% |████████████████████████████████| 163kB 17.1MB/s 
Installing collected packages: lxml, chardet, certifi, urllib3, idna, requests, six, pyVmomi, pycparser, cffi, asn1crypto, cryptography, pyOpenSSL, vapi-runtime, vapi-client-bindings, vapi-common-client, vmc-client-bindings, nsx-python-sdk, nsx-policy-python-sdk, nsx-vmc-policy-python-sdk, nsx-vmc-aws-integration-python-sdk, suds-jurko, vSphere-Automation-SDK
  Running setup.py install for pyVmomi ... done
  Running setup.py install for pycparser ... done
  Running setup.py install for suds-jurko ... done
  Running setup.py install for vSphere-Automation-SDK ... done
Successfully installed asn1crypto-0.24.0 certifi-2019.3.9 cffi-1.12.3 chardet-3.0.4 cryptography-2.7 idna-2.8 lxml-4.3.4 nsx-policy-python-sdk-2.3.0.0.3.13851140 nsx-python-sdk-2.3.0.0.3.13851140 nsx-vmc-aws-integration-python-sdk-2.3.0.0.3.13851140 nsx-vmc-policy-python-sdk-2.3.0.0.3.13851140 pyOpenSSL-19.0.0 pyVmomi-6.7.1.2018.12 pycparser-2.19 requests-2.22.0 six-1.12.0 suds-jurko-0.6 urllib3-1.25.3 vSphere-Automation-SDK-6.8.7 vapi-client-bindings-3.0.0 vapi-common-client-2.12.0 vapi-runtime-2.12.0 vmc-client-bindings-1.6.0
You are using pip version 19.0.3, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

@khnazaretyan
Copy link
Contributor

Tested on Mac OS X. Test results in python 2/3 virtual environments

~ $ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.5
BuildVersion:	18F203

Python 2 venv

~ $ virtualenv vsphere
~ $ cd vsphere
~ $ source ./bin/activate
~ $ pip install git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
  Cloning https:/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to /private/var/folders/q5/8gx0gtcx2jb7fqmb3c310knc0000gn/T/pip-req-build-jsqnwQ
  Running command git clone -q https:/khnazaretyan/vsphere-automation-sdk-python.git /private/var/folders/q5/8gx0gtcx2jb7fqmb3c310knc0000gn/T/pip-req-build-jsqnwQ
  Running command git checkout -b feat-pip_setup --track origin/feat-pip_setup
  Switched to a new branch 'feat-pip_setup'
  Branch 'feat-pip_setup' set up to track remote branch 'feat-pip_setup' from 'origin'.
Collecting lxml>=4.3.0 (from vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/c6/ad/fe41992c0d3f1a8935f35bcfa6ac3f2d2f022959cf2d52651e3a1b432b11/lxml-4.3.4-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting pyVmomi>=6.7 (from vSphere-Automation-SDK==6.8.7)
Collecting vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl
Collecting vapi-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl
Collecting vapi-common-client@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl
Collecting vmc-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl
Collecting nsx-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-vmc-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-vmc-aws-integration-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting suds (from vSphere-Automation-SDK==6.8.7)
Collecting requests>=2.3.0 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting six>=1.7.3 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting pyOpenSSL>=18.0.0 (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in ./lib/python2.7/site-packages (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7) (41.0.1)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting cryptography>=2.3 (from pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/e2/bf/3b641820c561aedde134e88528ba68dffe41ed238899fab7f7ef20118aaf/cryptography-2.7-cp27-cp27m-macosx_10_6_intel.whl
Collecting enum34; python_version < "3" (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/16/f6/46a3dece43541b2cbf3776ec2299e370a2408d9380958401cacb6d101853/cffi-1.12.3-cp27-cp27m-macosx_10_6_intel.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
Building wheels for collected packages: vSphere-Automation-SDK
  Building wheel for vSphere-Automation-SDK (setup.py) ... done
  Stored in directory: /private/var/folders/q5/8gx0gtcx2jb7fqmb3c310knc0000gn/T/pip-ephem-wheel-cache-pN_P__/wheels/df/90/bf/bc9602a7b432997f0f60954051b68603fcb91611eace540d18
Successfully built vSphere-Automation-SDK
Installing collected packages: lxml, urllib3, certifi, chardet, idna, requests, six, pyVmomi, enum34, pycparser, cffi, asn1crypto, ipaddress, cryptography, pyOpenSSL, vapi-runtime, vapi-client-bindings, vapi-common-client, vmc-client-bindings, nsx-python-sdk, nsx-policy-python-sdk, nsx-vmc-policy-python-sdk, nsx-vmc-aws-integration-python-sdk, suds, vSphere-Automation-SDK
Successfully installed asn1crypto-0.24.0 certifi-2019.6.16 cffi-1.12.3 chardet-3.0.4 cryptography-2.7 enum34-1.1.6 idna-2.8 ipaddress-1.0.22 lxml-4.3.4 nsx-policy-python-sdk-2.3.0.0.3.13851140 nsx-python-sdk-2.3.0.0.3.13851140 nsx-vmc-aws-integration-python-sdk-2.3.0.0.3.13851140 nsx-vmc-policy-python-sdk-2.3.0.0.3.13851140 pyOpenSSL-19.0.0 pyVmomi-6.7.1.2018.12 pycparser-2.19 requests-2.22.0 six-1.12.0 suds-0.4 urllib3-1.25.3 vSphere-Automation-SDK-6.8.7 vapi-client-bindings-3.0.0 vapi-common-client-2.12.0 vapi-runtime-2.12.0 vmc-client-bindings-1.6.0

~ $ pip show vSphere-Automation-SDK
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Name: vSphere-Automation-SDK
Version: 6.8.7
Summary: Python SDK for vSphere automation
Home-page: https:/vmware/vsphere-automation-sdk-python
Author: VMware
Author-email: UNKNOWN
License: MIT
Location: /Users/myuser/vshpere_auto_sdk_test/vpshere/lib/python2.7/site-packages
Requires: pyVmomi, nsx-python-sdk, nsx-vmc-policy-python-sdk, vapi-runtime, vapi-common-client, vapi-client-bindings, nsx-policy-python-sdk, lxml, suds, nsx-vmc-aws-integration-python-sdk, vmc-client-bindings
Required-by:

Python 3 venv

~ $ virtualenv -p python3 vsphere
~ $ cd vsphere
~ $ source ./bin/activate
~ $ pip install git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Collecting git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
  Cloning https:/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to /private/var/folders/q5/8gx0gtcx2jb7fqmb3c310knc0000gn/T/pip-req-build-d1ewbfg0
  Running command git clone -q https:/khnazaretyan/vsphere-automation-sdk-python.git /private/var/folders/q5/8gx0gtcx2jb7fqmb3c310knc0000gn/T/pip-req-build-d1ewbfg0
  Running command git checkout -b feat-pip_setup --track origin/feat-pip_setup
  Switched to a new branch 'feat-pip_setup'
  Branch 'feat-pip_setup' set up to track remote branch 'feat-pip_setup' from 'origin'.
Collecting lxml>=4.3.0 (from vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/1d/16/c220beb03c4b4609924f0fc1bee5e0e5e8082089103fdc0b2a7c8b8bb003/lxml-4.3.4-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting pyVmomi>=6.7 (from vSphere-Automation-SDK==6.8.7)
Collecting vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl
Collecting vapi-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl
Collecting vapi-common-client@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl
Collecting vmc-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl
Collecting nsx-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-vmc-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-vmc-aws-integration-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting suds-jurko (from vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/bd/6f/54fbf0999a606680d27c69b1ad12dfff62768ecb9fe48524cebda6eb4423/suds-jurko-0.6.tar.bz2
Collecting requests>=2.3.0 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting six>=1.7.3 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in ./lib/python3.7/site-packages (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7) (41.0.1)
Collecting pyOpenSSL>=18.0.0 (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting cryptography>=2.3 (from pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/63/4e/57b7a6bd98906872fcd2531e74b532de2abe17d675a5cf171931fcb4a9e8/cryptography-2.7-cp34-abi3-macosx_10_6_intel.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/f0/48/5aa4ea664eba26dd5142558d04762f5065c02220b4665b3f7eecb9bb614e/cffi-1.12.3-cp37-cp37m-macosx_10_9_x86_64.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
Building wheels for collected packages: vSphere-Automation-SDK, suds-jurko
  Building wheel for vSphere-Automation-SDK (setup.py) ... done
  Stored in directory: /private/var/folders/q5/8gx0gtcx2jb7fqmb3c310knc0000gn/T/pip-ephem-wheel-cache-kmc8rd40/wheels/df/90/bf/bc9602a7b432997f0f60954051b68603fcb91611eace540d18
  Building wheel for suds-jurko (setup.py) ... done
  Stored in directory: /Users/myuser/Library/Caches/pip/wheels/12/68/53/d3902c054e32115da1d45bac442a547a071a86a65db4d77027
Successfully built vSphere-Automation-SDK suds-jurko
Installing collected packages: lxml, urllib3, idna, certifi, chardet, requests, six, pyVmomi, pycparser, cffi, asn1crypto, cryptography, pyOpenSSL, vapi-runtime, vapi-client-bindings, vapi-common-client, vmc-client-bindings, nsx-python-sdk, nsx-policy-python-sdk, nsx-vmc-policy-python-sdk, nsx-vmc-aws-integration-python-sdk, suds-jurko, vSphere-Automation-SDK
Successfully installed asn1crypto-0.24.0 certifi-2019.6.16 cffi-1.12.3 chardet-3.0.4 cryptography-2.7 idna-2.8 lxml-4.3.4 nsx-policy-python-sdk-2.3.0.0.3.13851140 nsx-python-sdk-2.3.0.0.3.13851140 nsx-vmc-aws-integration-python-sdk-2.3.0.0.3.13851140 nsx-vmc-policy-python-sdk-2.3.0.0.3.13851140 pyOpenSSL-19.0.0 pyVmomi-6.7.1.2018.12 pycparser-2.19 requests-2.22.0 six-1.12.0 suds-jurko-0.6 urllib3-1.25.3 vSphere-Automation-SDK-6.8.7 vapi-client-bindings-3.0.0 vapi-common-client-2.12.0 vapi-runtime-2.12.0 vmc-client-bindings-1.6.0

~ $ pip show vSphere-Automation-SDK
Name: vSphere-Automation-SDK
Version: 6.8.7
Summary: Python SDK for vSphere automation
Home-page: https:/vmware/vsphere-automation-sdk-python
Author: VMware
Author-email: UNKNOWN
License: MIT
Location: /Users/myuser/vshpere_auto_sdk_test/vsphere/lib/python3.7/site-packages
Requires: nsx-vmc-aws-integration-python-sdk, suds-jurko, nsx-python-sdk, nsx-policy-python-sdk, vapi-client-bindings, vapi-runtime, vapi-common-client, vmc-client-bindings, lxml, nsx-vmc-policy-python-sdk, pyVmomi
Required-by:

@khnazaretyan
Copy link
Contributor

Tested on Windows 10.
Requires git and Python2/3 for windows to be installed.

Python 2 (2.7.16)

C:\Users\Khachatur Nazaretyan\AppData\Local\Programs\Python\Python27\Scripts>pip install --user --upgrade pip
Collecting pip
  Using cached https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-19.1.1
You are using pip version 18.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\Khachatur Nazaretyan\AppData\Local\Programs\Python\Python27\Scripts>pip install --user --upgrade setuptools
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting setuptools
  Using cached https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl
Installing collected packages: setuptools
Successfully installed setuptools-41.0.1

C:\Users\Khachatur Nazaretyan\AppData\Local\Programs\Python\Python27\Scripts> pip install --user git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
  Cloning https:/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to c:\users\khacha~1\appdata\local\temp\pip-req-build-zlvchz
  Running command git clone -q https:/khnazaretyan/vsphere-automation-sdk-python.git 'c:\users\khacha~1\appdata\local\temp\pip-req-build-zlvchz'
  Running command git checkout -b feat-pip_setup --track origin/feat-pip_setup
  Branch 'feat-pip_setup' set up to track remote branch 'feat-pip_setup' from 'origin'.
  Switched to a new branch 'feat-pip_setup'
Collecting lxml>=4.3.0 (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/ef/e2/1968eb678147ef6bb6ef780d317f6eb25ea87bd427bcce1098c251f5461f/lxml-4.3.4-cp27-cp27m-win_amd64.whl (3.6MB)
     |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU| 3.6MB 1.3MB/s
Collecting pyVmomi>=6.7 (from vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/71/24/0bb1257b3bc89f7b2facdbad91cc56902d116d649a263c242ef32f73110e/pyvmomi-6.7.1.2018.12.zip
Collecting vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl
Collecting vapi-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl
Collecting vapi-common-client@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl
Collecting vmc-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl
Collecting nsx-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-vmc-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-vmc-aws-integration-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting suds (from vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/bc/d6/960acce47ee6f096345fe5a7d9be7708135fd1d0713571836f073efc7393/suds-0.4.tar.gz
Collecting requests>=2.3.0 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl
Collecting six>=1.7.3 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in c:\users\khachatur nazaretyan\appdata\roaming\python\python27\site-packages (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7) (41.0.1)
Collecting pyOpenSSL>=18.0.0 (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting cryptography>=2.3 (from pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/d8/30/6313af106e5abff8bfa78eb2ce630673bb5add4fafd3b28d4bd0271c8e7f/cryptography-2.7-cp27-cp27m-win_amd64.whl (1.5MB)
     |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU| 1.5MB 1.3MB/s
Collecting enum34; python_version < "3" (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/fa/24/37ec704b98ffc36e7d0ade9e4653539c0b8e6fec34f084f30194609aa10b/cffi-1.12.3-cp27-cp27m-win_amd64.whl (168kB)
     |UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU| 174kB 660kB/s
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
Installing collected packages: lxml, certifi, urllib3, idna, chardet, requests, six, pyVmomi, enum34, asn1crypto, ipaddress, pycparser, cffi, cryptography, pyOpenSSL, vapi-runtime, vapi-client-bindings, vapi-common-client, vmc-client-bindings, nsx-python-sdk, nsx-policy-python-sdk, nsx-vmc-policy-python-sdk, nsx-vmc-aws-integration-python-sdk, suds, vSphere-Automation-SDK
  WARNING: The script chardetect.exe is installed in 'C:\Users\Khachatur Nazaretyan\AppData\Roaming\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  Running setup.py install for pyVmomi ... done
  Running setup.py install for pycparser ... done
  WARNING: The script vapi-server.exe is installed in 'C:\Users\Khachatur Nazaretyan\AppData\Roaming\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  Running setup.py install for suds ... done
  Running setup.py install for vSphere-Automation-SDK ... done
Successfully installed asn1crypto-0.24.0 certifi-2019.6.16 cffi-1.12.3 chardet-3.0.4 cryptography-2.7 enum34-1.1.6 idna-2.8 ipaddress-1.0.22 lxml-4.3.4 nsx-policy-python-sdk-2.3.0.0.3.13851140 nsx-python-sdk-2.3.0.0.3.13851140 nsx-vmc-aws-integration-python-sdk-2.3.0.0.3.13851140 nsx-vmc-policy-python-sdk-2.3.0.0.3.13851140 pyOpenSSL-19.0.0 pyVmomi-6.7.1.2018.12 pycparser-2.19 requests-2.22.0 six-1.12.0 suds-0.4 urllib3-1.25.3 vSphere-Automation-SDK-6.8.7 vapi-client-bindings-3.0.0 vapi-common-client-2.12.0 vapi-runtime-2.12.0 vmc-client-bindings-1.6.0

Python 3 (3.7.3)

C:\Users\Khachatur Nazaretyan\AppData\Local\Programs\Python\Python37\Scripts>pip install --upgrade pip --user
Requirement already up-to-date: pip in c:\users\khachatur nazaretyan\appdata\local\programs\python\python37\lib\site-packages (19.1.1)

C:\Users\Khachatur Nazaretyan\AppData\Local\Programs\Python\Python37\Scripts>pip install --user --upgrade setuptools
Collecting setuptools
  Using cached https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl
Installing collected packages: setuptools
Successfully installed setuptools-41.0.1

C:\Users\Khachatur Nazaretyan\AppData\Local\Programs\Python\Python37\Scripts>pip install git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Collecting git+https:/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
  Cloning https:/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to c:\users\khacha~1\appdata\local\temp\pip-req-build-rp09w3g6
  Running command git clone -q https:/khnazaretyan/vsphere-automation-sdk-python.git 'C:\Users\KHACHA~1\AppData\Local\Temp\pip-req-build-rp09w3g6'
  Running command git checkout -b feat-pip_setup --track origin/feat-pip_setup
  Branch 'feat-pip_setup' set up to track remote branch 'feat-pip_setup' from 'origin'.
  Switched to a new branch 'feat-pip_setup'
Collecting lxml>=4.3.0 (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/c6/22/a43126b87020c325fac159bb3b7f4e7ea99e7b2594ce5b8fa23cfa6ee90d/lxml-4.3.4-cp37-cp37m-win_amd64.whl (3.6MB)
     |████████████████████████████████| 3.6MB 1.1MB/s
Collecting pyVmomi>=6.7 (from vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/71/24/0bb1257b3bc89f7b2facdbad91cc56902d116d649a263c242ef32f73110e/pyvmomi-6.7.1.2018.12.zip
Collecting vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl
Collecting vapi-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl
Collecting vapi-common-client@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl
Collecting vmc-client-bindings@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl
Collecting nsx-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-vmc-policy-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting nsx-vmc-aws-integration-python-sdk@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl from https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl (from vSphere-Automation-SDK==6.8.7)
  Using cached https:/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-2.3.0.0.3.13851140-py2.py3-none-any.whl
Collecting suds-jurko (from vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/bd/6f/54fbf0999a606680d27c69b1ad12dfff62768ecb9fe48524cebda6eb4423/suds-jurko-0.6.tar.bz2 (143kB)
     |████████████████████████████████| 153kB 1.1MB/s
Collecting requests>=2.3.0 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
     |████████████████████████████████| 61kB 975kB/s
Collecting six>=1.7.3 (from pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in c:\users\khachatur nazaretyan\appdata\roaming\python\python37\site-packages (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7) (41.0.1)
Collecting pyOpenSSL>=18.0.0 (from vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
     |████████████████████████████████| 153kB 1.3MB/s
Collecting certifi>=2017.4.17 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl (157kB)
     |████████████████████████████████| 163kB 1.3MB/s
Collecting idna<2.9,>=2.5 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
     |████████████████████████████████| 61kB 1.3MB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.3.0->pyVmomi>=6.7->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
     |████████████████████████████████| 143kB 1.1MB/s
Collecting cryptography>=2.3 (from pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/33/73/fc8c85104bd316086a7717d4970aec5e05fafcd6b9bf7257fe3621b180a0/cryptography-2.7-cp37-cp37m-win_amd64.whl (1.5MB)
     |████████████████████████████████| 1.5MB 1.1MB/s
Collecting asn1crypto>=0.21.0 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Downloading https://files.pythonhosted.org/packages/2f/ad/9722b7752fdd88c858be57b47f41d1049b5fb0ab79caf0ab11407945c1a7/cffi-1.12.3-cp37-cp37m-win_amd64.whl (171kB)
     |████████████████████████████████| 174kB 1.1MB/s
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=2.3->pyOpenSSL>=18.0.0->vapi-runtime@ https:/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl->vSphere-Automation-SDK==6.8.7)
  Using cached https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
Installing collected packages: lxml, urllib3, certifi, idna, chardet, requests, six, pyVmomi, asn1crypto, pycparser, cffi, cryptography, pyOpenSSL, vapi-runtime, vapi-client-bindings, vapi-common-client, vmc-client-bindings, nsx-python-sdk, nsx-policy-python-sdk, nsx-vmc-policy-python-sdk, nsx-vmc-aws-integration-python-sdk, suds-jurko, vSphere-Automation-SDK
  WARNING: The script chardetect.exe is installed in 'c:\users\khachatur nazaretyan\appdata\local\programs\python\python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  Running setup.py install for pyVmomi ... done
  Running setup.py install for pycparser ... done
  WARNING: The script vapi-server.exe is installed in 'c:\users\khachatur nazaretyan\appdata\local\programs\python\python37\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  Running setup.py install for suds-jurko ... done
  Running setup.py install for vSphere-Automation-SDK ... done
Successfully installed asn1crypto-0.24.0 certifi-2019.6.16 cffi-1.12.3 chardet-3.0.4 cryptography-2.7 idna-2.8 lxml-4.3.4 nsx-policy-python-sdk-2.3.0.0.3.13851140 nsx-python-sdk-2.3.0.0.3.13851140 nsx-vmc-aws-integration-python-sdk-2.3.0.0.3.13851140 nsx-vmc-policy-python-sdk-2.3.0.0.3.13851140 pyOpenSSL-19.0.0 pyVmomi-6.7.1.2018.12 pycparser-2.19 requests-2.22.0 six-1.12.0 suds-jurko-0.6 urllib3-1.25.3 vSphere-Automation-SDK-6.8.7 vapi-client-bindings-3.0.0 vapi-common-client-2.12.0 vapi-runtime-2.12.0 vmc-client-bindings-1.6.0

@tianhao64
Copy link
Contributor

@khnazaretyan Really appreciate your effort. We have also tested on Windows 10, ubuntu and Mac. I think we are ready take the change at this point. Could you please create a PR? Please use below values for version, description and author instead in setup.py? Other values in your fork look good. Thank you!

version='1.0.0',
description='VMware vSphere Automation SDK for Python',
author='VMware, Inc.'

@tgelter
Copy link

tgelter commented Mar 22, 2022

Making another request for this to just be in PyPi, having to deal with this github-based install process alongside pipenv is super painful.

While we wait for a response from VMware, have you tried the workaround mentioned in this PR to help ease your automation?
I've had luck with the following added to our project's requirements.txt:

<lines omitted>
yq==2.13.0
https:/vmware/vsphere-automation-sdk-python/archive/v7.0.3.0.tar.gz  # https:/vmware/vsphere-automation-sdk-python/issues/38

@mgaruccio
Copy link

Making another request for this to just be in PyPi, having to deal with this github-based install process alongside pipenv is super painful.

While we wait for a response from VMware, have you tried the workaround mentioned in this PR to help ease your automation? I've had luck with the following added to our project's requirements.txt:

<lines omitted>
yq==2.13.0
https:/vmware/vsphere-automation-sdk-python/archive/v7.0.3.0.tar.gz  # https:/vmware/vsphere-automation-sdk-python/issues/38

Unfortunately I get the same error (which is oddly different than the ones I'm seeing in this ticket) using the file method as I do using the git-based one. Tried both directly from the command line and by adding that line to the Pipfile. I opened #302 to track that issue, but ultimately a PyPi package would likely just resolve the issue.

@Nincholas
Copy link

@weakcamel
Copy link

Here it is? https://pypi.org/project/vsphere-automation-sdk-python/

It's version 0.0.1 and from April.

Good sign, but this looks like a placeholder or test attempt.

@Jc2k
Copy link

Jc2k commented Jul 10, 2022

It's file size also suggests its a placeholder.

TBH these days I'd be worried about it being a supply chain attack (e.g. https://www.bitdefender.com/blog/hotforsecurity/supply-chain-attack-detected-in-pypi-library/) given the strange version number and lack of updates here.

@arthurzenika
Copy link

In company contexts that have an pypi proxy / cache where projects have to whitelist modules that are authorized to be used in the company context (for security or licence reasons), this renders using vsphere-automation-sdk-python really difficult or impossible.

This also begs the question of why some code is only accessible in the .whl files (which are essentially a zip with some metadata) and not in version control like the rest. Is there documentation somewhere on how those modules are generated ?

@ShadowJonathan
Copy link

ShadowJonathan commented Dec 21, 2022

@kunal-pmj, @aagrawal3 and @shwetapurohit, could you please give a proper reaction to this issue? Instead of letting this blackhole and closing duplicates.

If this is not intended to be solved, close it, don't blackhole it, that does a disservice to your customers and to the open source community.

As it stands, the lack of progress on this issue adds to making me deem VMWare unfit for open source collaboration, and thus unfit for this whole endeavour, which makes me unwilling to recommend or work with it in the industry.

@mariolenz
Copy link
Contributor

One day too late, but: Happy birthday 🎂 🥳

@aagrawal3
Copy link
Contributor

Blockers:
pypi/support#3214
pypi/support#3215

@mariolenz
Copy link
Contributor

@aagrawal3 It looks like you are ready to start publishing packages on PyPI, but somehow vapi-runtime and vapi-common-client are kind of on a list of prohibited packages or package names. Is this correct?

Well, I don't know how to help you there. But since there are so many people here who want to see this SDK on PyPI:

Anyone else around who can help with this?

@wkoot
Copy link

wkoot commented Oct 29, 2023

Perhaps moving to vmware_rest is a more viable solution

@mariolenz
Copy link
Contributor

@wkoot This might be OK for your use cases, but an ansible collection isn't really an alternative if you need the functionality of the SDK ;-)

@mariolenz
Copy link
Contributor

Blockers: pypi/support#3214 pypi/support#3215

Any news on those?

@NotAMorningSpartan
Copy link

Bumping this issue as well. Can we get a progress update on both this issue as well as the 2 PyPi blockers mentioned above?

@shwetapurohit
Copy link
Contributor

shwetapurohit commented Feb 7, 2024

Hi,
We plan to publish the binaries on PyPi in the near future.

Thanks!

@mariolenz
Copy link
Contributor

We plan to publish the binaries on PyPi in the near future.

Any news on this? After 7 weeks I think the "near future" is already there...

@avesst
Copy link

avesst commented Apr 25, 2024

Waiting for this also..

@kunalpmj
Copy link

kunalpmj commented Jul 3, 2024

Following Libraries are available on PyPI :
vCenter Client bindings : https://pypi.org/project/vmware-vcenter/
pyvmomi : https://pypi.org/project/pyvmomi/
vmware-vapi-runtime : https://pypi.org/project/vmware-vapi-runtime/
https://pypi.org/project/vmware-vapi-common-client/

@ShadowJonathan
Copy link

FWIW since my first comment here that I made in my 3rd semester, I have now graduated, and I will be heavily disrecommending VMWare in any guest lessons I will give on infrastructure. :3

@mariolenz
Copy link
Contributor

Following Libraries are available on PyPI :
vCenter Client bindings : https://pypi.org/project/vmware-vcenter/
pyvmomi : https://pypi.org/project/pyvmomi/
vmware-vapi-runtime : https://pypi.org/project/vmware-vapi-runtime/
https://pypi.org/project/vmware-vapi-common-client/

@aagrawal3 @shwetapurohit I'm wondering what those new packages on PyPI really mean. Do I still have to define git+https:/vmware/vsphere-automation-sdk-python.git in my requirements.txt?

Or can I define vmware-vcenter, vmware-vapi-runtime and vmware-vapi-common-client and that's it? Do I need all of them? Or is there's one requirement that will pull in the other two?

Or would pyvmomi pull in those automatically?

Is this complete, or would there still be things missing in comparison to installing this from GitHub?

It's really great to see some progress here, but ATM I don't see what those packages on PyPI mean to me and if they really solve this issue. A little bit more information (and communication) from VMware Broadcom would be very much appreciated.

@kunalpmj Out of curiosity: Are you part of the team working on this, or did you see those packages on PyPI and just wanted to inform informed us about them?

@kunalpmj
Copy link

kunalpmj commented Jul 3, 2024

@mariolenz
Kindly note, not all the SDK components are in PyPI.
Post SDK release 8.0U3 you would still need to include this
git+https:/vmware/vsphere-automation-sdk-python.git
to install the complete SDK.

Including vmware-vcenter would get you vmware-vapi-runtime only and pyvmomi and vmware-vapi-common-client would not get any other SDK component.

For vSphere APIs vmware-vcenter, pyvmomi and vmware-vapi-common-client will be enough.
However, if you need NSX, NSX-VMC, VMC or VMC-DraaS then installing the SDK from Github will still be required

@mariolenz
Copy link
Contributor

@kunalpmj Thanks for the clarification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests