-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
97 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
""" | ||
Metadata about the package to easily retrieve information about it. | ||
See: https://packaging.python.org/guides/single-sourcing-package-version/ | ||
""" | ||
|
||
from datetime import date | ||
|
||
__all__ = [ | ||
"__author__", | ||
"__copyright__", | ||
"__email__", | ||
"__license__", | ||
"__summary__", | ||
"__title__", | ||
"__title_clean__", | ||
"__uri__", | ||
"__version__", | ||
"__version_info__", | ||
] | ||
|
||
__author__ = "Étienne Trimaille" | ||
__copyright__ = "2021 - {0}, {1}".format(date.today().year, __author__) | ||
__email__ = "etrimaille@3liz.com" | ||
__license__ = "GNU General Public License v3.0" | ||
__summary__ = "Tool for merging XML files from QGIS-Plugin-CI." | ||
__title__ = "QGIS Plugin Repo" | ||
__title_clean__ = "".join(e for e in __title__ if e.isalnum()) | ||
__uri__ = "https://github.com/3liz/qgis-plugin-repo" | ||
|
||
# This string might be updated on CI on runtime with a proper semantic version name with X.Y.Z | ||
__version__ = "__VERSION__" | ||
|
||
if "." not in __version__: | ||
# If __version__ is still not a proper semantic versioning with X.Y.Z | ||
# let's hardcode 0.0.0 | ||
__version__ = "0.0.0" | ||
|
||
__version_info__ = tuple( | ||
[ | ||
int(num) if num.isdigit() else num | ||
for num in __version__.replace("-", ".", 1).split(".") | ||
] | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters