vmware-samples / nsx-t

Sample code for NSX-T APIs
Other
67 stars 27 forks source link

NSX-T Python SDK is not available on PIP #3

Open z4ce opened 5 years ago

z4ce commented 5 years ago

It would be really great if the SDK was available on PyPI. It not being there leads to making the SDK much more difficult to obtain and use. It also makes it more likely for fragile solutions based on curl to propagate. It also seems very odd that the library for NSXv is available in pip (https://pypi.org/project/PyNSXv/), but the for nsx-t is not, but given nsx-v an advanage over nsx-t. This isn't directly related to this repo, so I understand if this issue should be closed but it seemed like the nearest place to ask for the SDK to be made more readily available via standard mechanisms.

ggoodvmw commented 5 years ago

Hi Ian, sorry for the delay in responding. I agree that it would be good if the NSX-T SDKs were available in pypi. There are some issues (legal, I think) that prevent the runtime files on which the SDKs depend from being published on pypi. Once those are resolved we can publish the NSX-T SDKS there.

z4ce commented 5 years ago

You might want to check with the golang folks. They seem to have gotten through the legal hurdles. https://github.com/vmware/go-vmware-nsxt

ShadowJonathan commented 4 years ago

Is there any progress on this? I was surprised to see the NSX-T SDK not being on pypi, @ggoodvmw

prasadvylale commented 2 years ago

Any update on this?

ggoodvmw commented 2 years ago

It looks like the pypi issue can't be resolved anytime soon. Let me look at an alternative approach, which would allow pip to install directly from this repo.

ggoodvmw commented 2 years ago

Actually, the SDK and dependencies can already be installed by pip directly from https://github.com/vmware/vsphere-automation-sdk-python - does that help?