Skip to content
Newer
Older
100644 86 lines (73 sloc) 3.14 KB
c32b49b First pass at committing community ZenPacks. These need to be tagged.
Matt Ray authored Dec 19, 2008
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 ###########################################################################
13
14 ################################
15 # These variables are overwritten by Zenoss when the ZenPack is exported
16 # or saved. Do not modify them directly here.
17 NAME = 'ZenPacks.SCC.ShowGraphPortlet'
18 VERSION = '1.0'
19 AUTHOR = 'Anton Menshutin'
20 LICENSE = ''
21 NAMESPACE_PACKAGES = ['ZenPacks', 'ZenPacks.SCC']
22 PACKAGES = ['ZenPacks', 'ZenPacks.SCC', 'ZenPacks.SCC.ShowGraphPortlet']
23 INSTALL_REQUIRES = []
24 COMPAT_ZENOSS_VERS = '>=2.1'
25 PREV_ZENPACK_NAME = ''
26 # STOP_REPLACEMENTS
27 ################################
28 # Zenoss will not overwrite any changes you make below here.
29
30 from setuptools import setup, find_packages
31
32 setup(
33 # This ZenPack metadata should usually be edited with the Zenoss
34 # ZenPack edit page. Whenever the edit page is submitted it will
35 # overwrite the values below (the ones it knows about) with new values.
36 name = NAME,
37 version = VERSION,
38 author = AUTHOR,
39 license = LICENSE,
40
41 # This is the version spec which indicates what versions of Zenoss
42 # this ZenPack is compatible with
43 compatZenossVers = COMPAT_ZENOSS_VERS,
44
45 # previousZenPackName is a facility for telling Zenoss that the name
46 # of this ZenPack has changed. If no ZenPack with the current name is
47 # installed then a zenpack of this name if installed will be upgraded.
48 prevZenPackName = PREV_ZENPACK_NAME,
49
50 # Indicate to setuptools which namespace packages the zenpack
51 # participates in
52 namespace_packages = NAMESPACE_PACKAGES,
53
54 # Tell setuptools what packages this zenpack provides.
55 packages = find_packages(),
56
57 # Tell setuptools to figure out for itself which files to include
58 # in the binary egg when it is built.
59 include_package_data = True,
60
61 # Tell setuptools what non-python files should also be included
62 # with the binary egg.
63 package_data = {
64 '': ['*.txt'],
65 NAME: ['objects/*','skins/*/*','services/*', 'reports/*/*',
66 'modeler/*/*', 'daemons/*', 'lib/*', 'libexec/*'],
67 },
68
69 # Indicate dependencies on other python modules or ZenPacks. This line
70 # is modified by zenoss when the ZenPack edit page is submitted. Zenoss
71 # tries to put add/delete the names it manages at the beginning of this
72 # list, so any manual additions should be added to the end. Things will
73 # go poorly if this line is broken into multiple lines or modified to
74 # dramatically.
75 install_requires = INSTALL_REQUIRES,
76
77 # Every ZenPack egg must define exactly one zenoss.zenpacks entry point
78 # of this form.
79 entry_points = {
80 'zenoss.zenpacks': '%s = %s' % (NAME, NAME),
81 },
82
83 # All ZenPack eggs must be installed in unzipped form.
84 zip_safe = False,
85 )
Something went wrong with that request. Please try again.