plugin installation

this commit contains changes to make the plugin installable

Change-Id: Ica474f6b4c3701c1b18433966db8fb01cced8fba
This commit is contained in:
Murad Awawdeh 2016-05-17 16:12:25 +03:00
parent ca38cba7c7
commit d306ba52e1
3 changed files with 31 additions and 7 deletions

View File

@ -1,6 +0,0 @@
include AUTHORS
include ChangeLog
exclude .gitignore
exclude .gitreview
global-exclude *.pyc

30
enabled/_7000_mlx.py Normal file
View File

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# Copyright 2016 Mellanox Technologies, Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# The slug of the dashboard to be added to HORIZON['dashboards']. Required.
DASHBOARD = 'horizon_mellanox'
# If set to True, this dashboard will be set as the default dashboard.
DEFAULT = False
# A dictionary of exception classes to be added to HORIZON['exceptions'].
ADD_EXCEPTIONS = {}
# A list of applications to be added to INSTALLED_APPS.
ADD_INSTALLED_APPS = ['horizon_mellanox']
ADD_ANGULAR_MODULES = [
'horizon.dashboard.horizon_mellanox',
]
AUTO_DISCOVER_STATIC_FILES = True

View File

@ -21,7 +21,7 @@ classifier =
[files]
packages =
horizon-mellanox
horizon_mellanox
[build_sphinx]
source-dir = doc/source