moonstream/crawlers/mooncrawl/mooncrawl/__init__.py

12 wiersze
330 B
Python

try:
from .reporter import reporter
from .version import MOONCRAWL_VERSION
# Reporting
reporter.tags.append(f"version:{MOONCRAWL_VERSION}")
reporter.system_report(publish=True)
reporter.setup_excepthook(publish=True)
except:
# Pass it to be able import MOONCRAWL_VERSION in setup.py with pip
pass