-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path__about__.py
27 lines (22 loc) · 1.07 KB
/
__about__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# coding=utf-8
import os
# Increment this version number to trigger a new release. See
# CHANGELOG.md for information on the versioning scheme.
__version__ = "0.2.1"
# The version suffix will be appended to the actual version, separated by a
# dash. Use this suffix to differentiate between the actual released version and
# the versions from other branches. For instance: set the suffix to "nightly" in
# the nightly branch.
# The suffix is cleanly separated from the __version__ in this module to avoid
# conflicts when merging branches.
__version_suffix__ = ""
# The app name will be used to define the name of the default plugin root and
# plugin directory. To avoid conflicts between multiple locally-installed
# versions, if it is defined the version suffix will also be appended to the app
# name.
__app__ = os.environ.get("OPENEDX_PLUGIN_EXAMPLE", "example-plugin")
# Package version, as installed by pip, does not include the version suffix.
__package_version__ = __version__
if __version_suffix__:
__version__ += "-" + __version_suffix__
__app__ += "-" + __version_suffix__