-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_Check_Versions.py
21 lines (16 loc) · 949 Bytes
/
_Check_Versions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
##==============================================================#
## SECTION: Imports #
##==============================================================#
import verace
##==============================================================#
## SECTION: Global Definitions #
##==============================================================#
VERCHK = verace.VerChecker("PopPage", __file__)
VERCHK.include(r"app\setup.py", match="version = ", splits=[('"',1)])
VERCHK.include(r"app\poppage.py", match="__version__ = ", splits=[('"',1)])
VERCHK.include(r"CHANGELOG.adoc", match="poppage-", splits=[("-",1),(" ",0)], updatable=False)
##==============================================================#
## SECTION: Main Body #
##==============================================================#
if __name__ == '__main__':
VERCHK.prompt()