Skip to content

Commit

Permalink
Merge pull request zenoss#477 from zenoss/feature/master_release_issues
Browse files Browse the repository at this point in the history
Fix inconsistencies after 2.0.7 release.
  • Loading branch information
itshane authored Aug 29, 2017
2 parents 6acaa6e + 28799fa commit 9680aaa
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# or saved. Do not modify them directly here.
# NB: PACKAGES is deprecated
NAME = "ZenPacks.zenoss.ZenPackLib"
VERSION = "2.0.7.10"
VERSION = "2.0.7"
AUTHOR = "Zenoss"
LICENSE = ""
NAMESPACE_PACKAGES = ['ZenPacks', 'ZenPacks.zenoss']
Expand All @@ -19,6 +19,14 @@
from subprocess import Popen, PIPE
from setuptools import setup, find_packages

# Run "make build" if a GNUmakefile is present.
if os.path.isfile('GNUmakefile'):
print 'GNUmakefile found. Running "make build" ..'
p = Popen('make build', stdout=PIPE, stderr=PIPE, shell=True)
print p.communicate()[0]
if p.returncode != 0:
raise Exception('"make build" exited with an error: %s' % p.returncode)

setup(
# This ZenPack metadata should usually be edited with the Zenoss
# ZenPack edit page. Whenever the edit page is submitted it will
Expand Down

0 comments on commit 9680aaa

Please sign in to comment.