Skip to content

Commit

Permalink
fix version in setup.py and also require eventlet.
Browse files Browse the repository at this point in the history
  • Loading branch information
pandemicsyn committed Dec 29, 2011
1 parent b4ece2a commit 0f1c457
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
@@ -1,6 +1,6 @@
# statsdlog #

Simple daemon that consumes a syslog udp stream and generates statsd events based on the log lines it see's.
Simple daemon that consumes a syslog udp stream and generates statsd events when certain log lines are encountered.

### Configuration ###

Expand All @@ -26,16 +26,16 @@ statsdlog sample config:
- Point syslog udp stream to 127.0.0.1:8126
- Profit

It's important to note that the first match wins. An event will only be fired for the first match.
Its important to note that the first match wins. An event will only be fired for the first match.

The included patterns.json example includes a few patterns for errors commonly encountered when running [swift](http://github.com/openstack/swift)

### Building packages ###

Clone the version you want and build the package with [stdeb](https://github.com/astraw/stdeb "stdeb") (sudo apt-get install stdeb):

git clone git@github.com:pandemicsyn/statsdlog.git statsdlog-0.0.2
cd statsdlog-0.0.2
git checkout 0.0.2
git clone git@github.com:pandemicsyn/statsdlog.git statsdlog-0.0.3
cd statsdlog-0.0.3
git checkout 0.0.3
python setup.py --command-packages=stdeb.command bdist_deb
dpkg -i deb_dist/python-statsdlog_0.0.2-1_all.deb
dpkg -i deb_dist/python-statsdlog_0.0.3-1_all.deb
9 changes: 7 additions & 2 deletions setup.py
@@ -1,6 +1,11 @@
from setuptools import setup, find_packages
from statsdlog import __version__ as version

from informant import __version__ as version
install_requires = []
try:
import eventlet
except ImportError:
install_requires.append("eventlet")

name = "statsdlog"

Expand All @@ -21,6 +26,6 @@
'Programming Language :: Python :: 2.6',
'Environment :: No Input/Output (Daemon)',
],
install_requires=[],
install_requires=install_requires,
scripts=['bin/statsdlog-server']
)
2 changes: 1 addition & 1 deletion statsdlog/__init__.py
Expand Up @@ -2,7 +2,7 @@


#: Version information (major, minor, revision[, 'dev']).
version_info = (0, 0, 1)
version_info = (0, 0, 3)
#: Version string 'major.minor.revision'.
version = __version__ = ".".join(map(str, version_info))
gettext.install('statsdlog')

0 comments on commit 0f1c457

Please sign in to comment.