Move to pbr based build

Change-Id: I36cc5d862c4364937450ad8ae4fa20a1a709781f
This commit is contained in:
Tim Kuhlman 2014-07-29 15:15:34 -06:00
parent acd945035e
commit 224e654f4c
4 changed files with 34 additions and 29 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
.idea
*.pyc
.tox
AUTHORS
ChangeLog

View File

@ -1,6 +1,6 @@
kafka-python>=0.9.0
kazoo>=1.3
MySQL-python
pbr>=0.6,<1.0
python-statsd>=1.6.3
PyYAML
wheel

View File

@ -1,8 +1,33 @@
[wheel]
universal = 1
[metadata]
name = monasca-notification
author = Tim Kuhlman
author-email = tim.kuhlman@hp.com
classifier=
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Topic :: System :: Monitoring
keywords = openstack monitoring email
description-file = README.md
home-page = https://github.com/stackforge/monasca-notification
license = Apache
[entry_points]
console_scripts =
monasca-notification = monasca_notification.main:main
[files]
packages = monasca_notification
data_files =
bin = tools/monasca_notification_offsets.py
[flake8]
max-line-length = 120
[pbr]
autodoc_index_modules = True
[pep8]
max-line-length = 120
[flake8]
max-line-length = 120
[wheel]
universal = 1

View File

@ -18,27 +18,5 @@
import setuptools
setuptools.setup(
name="monasca-notification",
version="1.0.2",
author="Tim Kuhlman",
author_email="tim.kuhlman@hp.com",
description="Notification engine used in the monasca monitoring system",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Topic :: System :: Monitoring"
],
license="Apache",
keywords="openstack monitoring email",
url="https://github.com/stackforge/monasca-notification",
# possibly preferable to have the OS precompiled mysql version, python-mysqldb package on Ubuntu
install_requires=["kafka-python>=0.9.0", "kazoo>=1.3", "MySQL-python", "python-statsd>=1.6.3", "PyYAML"],
packages=setuptools.find_packages(exclude=['tests']),
entry_points={
'console_scripts': [
'monasca-notification = monasca_notification.main:main'
],
},
scripts=['tools/monasca_notification_offsets.py'],
test_suite='nose.collector'
)
setup_requires=['pbr'],
pbr=True)