mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-12 18:47:41 +00:00
When running from source we set the environment to `local` when reporting to Sentry. This change also adds the package version and the tier as additional Sentry tags. This is a follow-up of PR #4581.
13 lines
426 B
Python
13 lines
426 B
Python
#!/usr/bin/python3
|
|
|
|
# Store the version here so:
|
|
# 1) we don't load dependencies by storing it in __init__.py
|
|
# 2) we can import it in setup.py for the same reason
|
|
# 3) we can import it into your module module
|
|
__version__ = "_VERSION_"
|
|
__versionwithtag__ = "_VERSIONWITHTAG_"
|
|
__majorversion__ = "_MAJORVERSION_"
|
|
__releaseversion__ = "_RELEASEVERSION_"
|
|
__tier__ = "_TIER_"
|
|
__pkgversion__ = ""
|
|
__environment__ = "_ENVIRONMENT_"
|