Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MGE UPS 1.0

git-svn-id: http://zenpacks.zenoss.org/svn/zenpacks@289 db08cffe-75b9-45d1-af1a-46ad9ef135f6
  • Loading branch information...
commit 01437f27c6a006e94338c063cb967f48062edd68 0 parents
Matt Ray authored
16 COPYRIGHT.txt
... ... @@ -0,0 +1,16 @@
1  ZenPacks/__init__.py
... ... @@ -0,0 +1 @@
  1 +__import__('pkg_resources').declare_namespace(__name__)
1  ZenPacks/chitambira/__init__.py
... ... @@ -0,0 +1 @@
  1 +__import__('pkg_resources').declare_namespace(__name__)
8 ZenPacks/chitambira/mgeUPS/__init__.py
... ... @@ -0,0 +1,8 @@
  1 +
  2 +import Globals
  3 +import os.path
  4 +
  5 +skinsDir = os.path.join(os.path.dirname(__file__), 'skins')
  6 +from Products.CMFCore.DirectoryView import registerDirectory
  7 +if os.path.isdir(skinsDir):
  8 + registerDirectory(skinsDir, globals())
2  ZenPacks/chitambira/mgeUPS/datasources/__init__.py
... ... @@ -0,0 +1,2 @@
  1 +# __init__.py
  2 +
1  ZenPacks/chitambira/mgeUPS/lib/__init__.py
... ... @@ -0,0 +1 @@
  1 +# __init__.py
1  ZenPacks/chitambira/mgeUPS/migrate/__init__.py
... ... @@ -0,0 +1 @@
  1 +# __init__.py
0  ZenPacks/chitambira/mgeUPS/modeler/__init__.py
No changes.
0  ZenPacks/chitambira/mgeUPS/modeler/plugins/__init__.py
No changes.
5,930 ZenPacks/chitambira/mgeUPS/objects/objects.xml
5,930 additions, 0 deletions not shown
0  ZenPacks/chitambira/mgeUPS/skins/ZenPacks.chitambira.mgeUPS/placeholder.txt
No changes.
12 ZenPacks/chitambira/mgeUPS/tests/__init__.py
... ... @@ -0,0 +1,12 @@
  1 +# ##########################################################################
  2 +#
  3 +# This program is part of Zenoss Core, an open source monitoring platform.
  4 +# Copyright (C) 2008, Zenoss Inc.
  5 +#
  6 +# This program is free software; you can redistribute it and/or modify it
  7 +# under the terms of the GNU General Public License version 2 as published by
  8 +# the Free Software Foundation.
  9 +#
  10 +# For complete information please visit: http://www.zenoss.com/oss/
  11 +#
  12 +# ##########################################################################
69 setup.py
... ... @@ -0,0 +1,69 @@
  1 +################################
  2 +# These variables are overwritten by Zenoss when the ZenPack is exported
  3 +# or saved. Do not modify them directly here.
  4 +# NB: PACKAGES is deprecated
  5 +NAME = "ZenPacks.chitambira.mgeUPS"
  6 +VERSION = "1.0"
  7 +AUTHOR = "Benny Chitambira"
  8 +LICENSE = ""
  9 +NAMESPACE_PACKAGES = ['ZenPacks', 'ZenPacks.chitambira']
  10 +PACKAGES = ['ZenPacks', 'ZenPacks.chitambira', 'ZenPacks.chitambira.mgeUPS']
  11 +INSTALL_REQUIRES = []
  12 +COMPAT_ZENOSS_VERS = ">=2.2"
  13 +PREV_ZENPACK_NAME = ""
  14 +# STOP_REPLACEMENTS
  15 +################################
  16 +# Zenoss will not overwrite any changes you make below here.
  17 +
  18 +from setuptools import setup, find_packages
  19 +
  20 +setup(
  21 + # This ZenPack metadata should usually be edited with the Zenoss
  22 + # ZenPack edit page. Whenever the edit page is submitted it will
  23 + # overwrite the values below (the ones it knows about) with new values.
  24 + name = NAME,
  25 + version = VERSION,
  26 + author = AUTHOR,
  27 + license = LICENSE,
  28 +
  29 + # This is the version spec which indicates what versions of Zenoss
  30 + # this ZenPack is compatible with
  31 + compatZenossVers = COMPAT_ZENOSS_VERS,
  32 +
  33 + # previousZenPackName is a facility for telling Zenoss that the name
  34 + # of this ZenPack has changed. If no ZenPack with the current name is
  35 + # installed then a zenpack of this name if installed will be upgraded.
  36 + prevZenPackName = PREV_ZENPACK_NAME,
  37 +
  38 + # Indicate to setuptools which namespace packages the zenpack
  39 + # participates in
  40 + namespace_packages = NAMESPACE_PACKAGES,
  41 +
  42 + # Tell setuptools what packages this zenpack provides.
  43 + packages = find_packages(),
  44 +
  45 + # Tell setuptools to figure out for itself which files to include
  46 + # in the binary egg when it is built.
  47 + include_package_data = True,
  48 +
  49 + # The MANIFEST.in file is the recommended way of including additional files
  50 + # in your ZenPack. package_data is another.
  51 + #package_data = {}
  52 +
  53 + # Indicate dependencies on other python modules or ZenPacks. This line
  54 + # is modified by zenoss when the ZenPack edit page is submitted. Zenoss
  55 + # tries to put add/delete the names it manages at the beginning of this
  56 + # list, so any manual additions should be added to the end. Things will
  57 + # go poorly if this line is broken into multiple lines or modified to
  58 + # dramatically.
  59 + install_requires = INSTALL_REQUIRES,
  60 +
  61 + # Every ZenPack egg must define exactly one zenoss.zenpacks entry point
  62 + # of this form.
  63 + entry_points = {
  64 + 'zenoss.zenpacks': '%s = %s' % (NAME, NAME),
  65 + },
  66 +
  67 + # All ZenPack eggs must be installed in unzipped form.
  68 + zip_safe = False,
  69 +)

0 comments on commit 01437f2

Please sign in to comment.
Something went wrong with that request. Please try again.