Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 91 lines (77 sloc) 3.319 kB
68da30c @cluther User interface stuff.
cluther authored
1 ###########################################################################
2 #
3 # This program is part of Zenoss Core, an open source monitoring platform.
4 # Copyright (C) 2011, 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 or (at your
8 # option) any later version as published by the Free Software Foundation.
9 #
10 # For complete information please visit: http://www.zenoss.com/oss/
11 #
12 ###########################################################################
13
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
14 ################################
15 # These variables are overwritten by Zenoss when the ZenPack is exported
16 # or saved. Do not modify them directly here.
17 # NB: PACKAGES is deprecated
18 NAME = "ZenPacks.zenoss.OpenStack"
cd3eb51 @joshw release: 1.2.3dev -> 1.2.3
joshw authored
19 VERSION = "1.2.3"
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
20 AUTHOR = "Zenoss"
198b6b1 @danielrobbins GPLv2 licensing fix
danielrobbins authored
21 LICENSE = "GPLv2"
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
22 NAMESPACE_PACKAGES = ['ZenPacks', 'ZenPacks.zenoss']
23 PACKAGES = ['ZenPacks', 'ZenPacks.zenoss', 'ZenPacks.zenoss.OpenStack']
24 INSTALL_REQUIRES = []
25 COMPAT_ZENOSS_VERS = ">=3"
26 PREV_ZENPACK_NAME = ""
27 # STOP_REPLACEMENTS
28 ################################
29 # Zenoss will not overwrite any changes you make below here.
30
31 from setuptools import setup, find_packages
32
3e0c45c @cluther Automatically clone, build and install novaclient.
cluther authored
33 # make build
34 import subprocess
35 p = subprocess.Popen('make build', shell=True)
36 if p.poll() == None:
71669de @cluther Support v1.0 and v1.1 API versions.
cluther authored
37 p.wait()
3e0c45c @cluther Automatically clone, build and install novaclient.
cluther authored
38 if p.returncode != 0:
39 raise Exception('make exited with an error: %s' % p.returncode)
40
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
41 setup(
42 # This ZenPack metadata should usually be edited with the Zenoss
43 # ZenPack edit page. Whenever the edit page is submitted it will
44 # overwrite the values below (the ones it knows about) with new values.
71669de @cluther Support v1.0 and v1.1 API versions.
cluther authored
45 name=NAME,
46 version=VERSION,
47 author=AUTHOR,
48 license=LICENSE,
49
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
50 # This is the version spec which indicates what versions of Zenoss
51 # this ZenPack is compatible with
71669de @cluther Support v1.0 and v1.1 API versions.
cluther authored
52 compatZenossVers=COMPAT_ZENOSS_VERS,
53
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
54 # previousZenPackName is a facility for telling Zenoss that the name
55 # of this ZenPack has changed. If no ZenPack with the current name is
56 # installed then a zenpack of this name if installed will be upgraded.
71669de @cluther Support v1.0 and v1.1 API versions.
cluther authored
57 prevZenPackName=PREV_ZENPACK_NAME,
58
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
59 # Indicate to setuptools which namespace packages the zenpack
60 # participates in
71669de @cluther Support v1.0 and v1.1 API versions.
cluther authored
61 namespace_packages=NAMESPACE_PACKAGES,
62
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
63 # Tell setuptools what packages this zenpack provides.
71669de @cluther Support v1.0 and v1.1 API versions.
cluther authored
64 packages=find_packages(),
65
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
66 # Tell setuptools to figure out for itself which files to include
67 # in the binary egg when it is built.
71669de @cluther Support v1.0 and v1.1 API versions.
cluther authored
68 include_package_data=True,
69
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
70 # The MANIFEST.in file is the recommended way of including additional files
71 # in your ZenPack. package_data is another.
72 #package_data = {}
73
74 # Indicate dependencies on other python modules or ZenPacks. This line
75 # is modified by zenoss when the ZenPack edit page is submitted. Zenoss
76 # tries to put add/delete the names it manages at the beginning of this
77 # list, so any manual additions should be added to the end. Things will
78 # go poorly if this line is broken into multiple lines or modified to
79 # dramatically.
71669de @cluther Support v1.0 and v1.1 API versions.
cluther authored
80 install_requires=INSTALL_REQUIRES,
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
81
82 # Every ZenPack egg must define exactly one zenoss.zenpacks entry point
83 # of this form.
71669de @cluther Support v1.0 and v1.1 API versions.
cluther authored
84 entry_points={
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
85 'zenoss.zenpacks': '%s = %s' % (NAME, NAME),
86 },
87
88 # All ZenPack eggs must be installed in unzipped form.
71669de @cluther Support v1.0 and v1.1 API versions.
cluther authored
89 zip_safe=False,
71565d4 @cluther Initial skeleton for OpenStack ZenPack.
cluther authored
90 )
Something went wrong with that request. Please try again.