Open nmaludy opened 7 years ago
@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.
@tianhao64 Hi, if available for PyPI, which is convenient for usage. Thanks.
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://github.com/vmware/vsphere-automation-sdk-python/tree/master/lib/vapi-vmc-client :(
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?
@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...
I haven't pushed myself anything related to VMWare / VSphere on https://pypi.org I simply pointed out that those packages exist.
Thanks for the clarification, that makes sense 👍
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://github.com/vmware/vsphere-automation-sdk-python
@tianhao64 any luck with this?
Sorry, missed the previous message. Thanks for the feedback @Phxntxm, will try it out.
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
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.
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.
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.
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://github.com/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.
A simple setup.py would really be helpful.
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.
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://github.com/khnazaretyan/vsphere-automation-sdk-python/blob/feat-pip_setup/setup.py
Tested with
pip install git+https://github.com/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.
@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://github.com/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://github.com/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')
@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).
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://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
[root@840d026b306e /]# pip install git+https://github.com/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://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Cloning https://github.com/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to /tmp/pip-req-build-7BEVAy
Running command git clone -q https://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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
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://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
[root@00d7369d0f20 /]# pip3 install git+https://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Collecting git+https://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Cloning https://github.com/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to /tmp/pip-req-build-jut90n69
Running command git clone -q https://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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
@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.
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://github.com/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://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Cloning https://github.com/khnazaretyan/vsphere-automation-sdk-python.git (to revision feat-pip_setup) to /tmp/pip-req-build-42m2xg
Running command git clone -q https://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Collecting git+https://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Cloning https://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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.
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
~ $ virtualenv vsphere
~ $ cd vsphere
~ $ source ./bin/activate
~ $ pip install git+https://github.com/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://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Cloning https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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:
~ $ virtualenv -p python3 vsphere
~ $ cd vsphere
~ $ source ./bin/activate
~ $ pip install git+https://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Collecting git+https://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Cloning https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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:
Tested on Windows 10. Requires git and Python2/3 for windows to be installed.
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://github.com/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://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Cloning https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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
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://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Collecting git+https://github.com/khnazaretyan/vsphere-automation-sdk-python.git@feat-pip_setup
Cloning https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-3.0.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.12.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.6.0-py2.py3-none-any.whl from https://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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://github.com/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
@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.'
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.
@tianhao64 Actually, you may indeed publish non-open source code on PyPI depending on what you mean. More information here: https://wiki.python.org/moin/Asking%20for%20Help/How%20do%20you%20protect%20Python%20source%20code%3F
Please let me know if you need help with getting this great SDK on PyPI 😄
The reason we can't push these package to pypi is because they contain generated code and the generator is not open sourced yet.
IANAL, but do you really have to open source the generator before you can open source the generated code?
AFAIK, only open sourced package can be listed on pypi. Please correct me if I am wrong.
This GitHub repository seems to be under The MIT License. I don't understand why you think it's OK to do this on GitHub but not on PyPI.
@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://github.com/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://github.com/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')
Was this solved? I just recently ran into this issue when trying to install using pip-compile
Recently I tried installing just the packages uploaded to pypi, but I believe there may be an issue with them. Is it possible for the owner/maintainer to re-upload these? Links exist for them, but i receive an error that vapi_runtime>=2.5.0
doesn't point to anything. Pip is unable to find it.
@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://github.com/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://github.com/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')
Was this solved? I just recently ran into this issue when trying to install using pip-compile
@xeacott Thanks for your feedback. Yes it was solved, you can test it by running pip install git+https://github.com/vmware/vsphere-automation-sdk-python.git
. You can also reproduce it using the following code snippet. Setup in this package requires packages (wheels) local to this repository. I suppose pip-compile
is not parsing that part correctly.
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
pip install git+https://github.com/vmware/vsphere-automation-sdk-python.git
The upload to PyPI will fail as it does not accept direct dependencies in setup.py, which is the case in this repository. So AFAI understand, unless we don't have the following packages (wheels) separately in PyPI, using pip install git+https://github.com/vmware/vsphere-automation-sdk-python.git
is the working method and it can also be added to requirements.txt
.
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
@tianhao64 Do you think it is a feasible solution to have these wheels uploaded to PyPI separately and have this "wrapper" package vsphere-automation-sdk-python
which handles the versioning and dependencies between them?
@khnazaretyan Thank you for getting back with me. Yes, and installing locally on my own machine using pip install git+ ...
works just fine, and that was my primary method of installing. For the software I am working with, we use pre-commit
to build our requirements for each platform against a .in file for each platform. This is where our trouble is, because we cannot tell pip-compile
so easily to use local wheels.
If, by chance though, these individual wheels could all be uploaded to PyPi that would help us out tremendously. :)
@tianhao64 if you have any input on this, i'd greatly appreciate it :+1:
Hi @tianhao64 just a friendly ping
Hey @khnazaretyan wanted to ping once more to see if discussion on this happened elsewhere.
Hi @xeacott Sorry for the slow response. I was occupied with some other tasks recently. I have done some research and studied the company open source policies. It seems it should be OK to push these bindings directly to pypi. We will prioritize this task.
That is no problem. I am just excited this is possible on your end and having a response is good news, thanks!
Hi @xeacott Sorry for the slow response. I was occupied with some other tasks recently. I have done some research and studied the company open source policies. It seems it should be OK to push these bindings directly to pypi. We will prioritize this task.
Fantastic news! The package will see a ton more usage as a direct result of this!
Hi @xeacott Sorry for the slow response. I was occupied with some other tasks recently. I have done some research and studied the company open source policies. It seems it should be OK to push these bindings directly to pypi. We will prioritize this task.
Do you have any ETA on this?
Hi @xeacott Sorry for the slow response. I was occupied with some other tasks recently. I have done some research and studied the company open source policies. It seems it should be OK to push these bindings directly to pypi. We will prioritize this task.
@tianhao64 Hi, many thanks for your efforts. I see some of the packages (vapi-runtime, vapi-client-binding, vapi-common-client) are available in PyPI, but the version is very old (2.5.0 -> Nov 28, 2017). Is this task ongoing? I'll submit a PR with updates in requiremets.txt as soon as the packages are available in PyPI.
Yeah @khnazaretyan that's exactly what I was looking for (to be able to install the other packages that you mentioned). Glad you guys are doing this!
@xeacott Thanks for your feedback. I'm neither maintainer nor the board member of this repository, so I contribute as much as I can. Let's wait for feedback from @tianhao64.
@tianhao64 Any progress on this issue? I really think having this package on PyPi will boost its adoption.
Greetings! I'm coming from the ansible project, where we are testing vmware modules for ansible. This is a direct dependency for our testing framework, and would like to help get this published to pypi. If there is something I can do, or look to see where blockers are. I'd very much like to help.
@jobingeo
https://pypi.org/project/vapi-runtime/, https://pypi.org/project/vapi-common-client/ and https://pypi.org/project/vapi-client-bindings/ have been deleted (PyPI issue 105) and you're free to re-use them. Do you have an ETA for publishing this SDK on PyPI?
@jobingeo Any progress on publishing this SDK on PyPI? Does anyone know if the deleted packages are available somewhere?
We have initiated the process . Currently there is no ETA.
My customer needs to get this from pypi, it's the corporate policy and we have build our pipeline around it. This is awesome work you guys are doing. We'd greatly appreciate to get this asap.
@jobingeo @tianhao64
We have initiated the process.
Any news? It looks like quite a lot of people are waiting for this SDK to be published on PyPI.
And, not to put too fine a point on it, some have been waiting for this at least two years...
I really want to use it for a few automation tasks. And judging from this issue there is quiet a lot of interest. Any update would be appreciated.
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?