"""Databench module."""

__version__ = "0.3.0"

# Need to make sure monkey.patch_all() is applied before any
# 'import threading', but cannot raise error because building the Sphinx
# documentation also suffers from this problem, but there it can be ignored.
import sys
if 'threading' in sys.modules:
    print 'WARNING: The threading module needs to be patched before use. ' \
          'Do "import databench" before any "import threading".'
import gevent.monkey
gevent.monkey.patch_all()

from .analysis import LIST_ALL_META, Meta, Analysis, MetaZMQ, AnalysisZMQ
from .app import run

"""Databench module."""

__version__ = "0.3.0"

# Need to make sure monkey.patch_all() is applied before any
# 'import threading', but cannot raise error because building the Sphinx
# documentation also suffers from this problem, but there it can be ignored.
import sys
if 'threading' in sys.modules:
    print 'WARNING: The threading module needs to be patched before use. ' \
          'Do "import databench" before any "import threading".'
import gevent.monkey
gevent.monkey.patch_all()

from .analysis import Meta, Analysis, MetaZMQ, AnalysisZMQ
from .app import run

Change all instances list of Meta from a global to a class variable.
Change all instances list of Meta from a global to a class variable.
