Skip to content

Commit

Permalink
Add conditional statsd requirement. Wheel is live on wheels.galaxypro…
Browse files Browse the repository at this point in the history
…ject.org.
  • Loading branch information
dannon committed Apr 22, 2016
1 parent 0b9ed99 commit 83628d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/galaxy/dependencies/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ def check_fluent_logger( self ):
def check_raven( self ):
return self.config.get("sentry_dsn", None) is not None

def check_statsd( self ):
return self.config.get("statsd_host", None) is not None

def check_weberror( self ):
return ( asbool( self.config["debug"] ) and
asbool( self.config["use_interactive"] ) )
Expand Down
1 change: 1 addition & 0 deletions lib/galaxy/dependencies/conditional-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ fluent-logger
raven
pbs_python
drmaa
statsd
# PyRods not in PyPI

0 comments on commit 83628d5

Please sign in to comment.