parent
9d5cfa05c9
commit
4c8ca494df
@ -0,0 +1,3 @@
|
|||||||
|
cd %~dp0
|
||||||
|
Resources\WPy64-3720\python-3.7.2.amd64\python.exe
|
||||||
|
pause >nul
|
@ -0,0 +1,12 @@
|
|||||||
|
import os
|
||||||
|
import re
|
||||||
|
#Just call Version.Get("..")
|
||||||
|
def Get(inFolderPath):
|
||||||
|
lREPatternString="^v[0-9]*.[0-9]*.[0-9]*$"
|
||||||
|
lResultList = [f for f in os.listdir(inFolderPath) if re.match(lREPatternString,f)]
|
||||||
|
lResult=None
|
||||||
|
if len(lResultList) == 0:
|
||||||
|
lResult = None
|
||||||
|
else:
|
||||||
|
lResult = lResultList[0]
|
||||||
|
return lResult
|
@ -0,0 +1 @@
|
|||||||
|
{}
|
Loading…
Reference in new issue