From 874b1127a9542454f75622349bdde220aeae476c Mon Sep 17 00:00:00 2001 From: Akash Gangil Date: Fri, 4 Dec 2015 06:11:59 -0800 Subject: [PATCH] Install the tools folder on vmware_nsx install Previously we have tools/python_nsxadmin folder get added to /usr/local/lib/python2.7/dist-packages, however this didn't capture the __init__.py file in tools folder. The __init__.py is needed for any pakcage to be imported without that import tools.python_nsxadmin would fail, since python won't recognize tools as a module. Original intention to have tools/python_nsxadmin was towards having python_nsxadmin in the dist-packages instead of tools. But haven't yet figured out how to do that in setuptools (setup.cfg) Change-Id: I3641235e462866ccb85b7ada625f8ccaa282e1ba --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index abbddae4a4..668fac555d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,7 +21,7 @@ classifier = [files] packages = vmware_nsx - tools/python_nsxadmin.admin + tools data_files = etc/neutron/plugins/vmware = etc/nsx.ini