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
This commit is contained in:
Akash Gangil 2015-12-04 06:11:59 -08:00
parent 4456fab4f0
commit 874b1127a9
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ classifier =
[files]
packages =
vmware_nsx
tools/python_nsxadmin.admin
tools
data_files =
etc/neutron/plugins/vmware = etc/nsx.ini