25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
shutil.rmtree(sp)
print(sp, "[erased]")
def main ():
"purge cruft and other files"
print("Python: " + sys.version)
if sys.version < "3.7":
print("Python 3.7+ required")
return
xParser = argparse.ArgumentParser()
xParser.add_argument("-b", "--build", help="purge _build", action="store_true")
xArgs = xParser.parse_args()
|
|
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
shutil.rmtree(sp)
print(sp, "[erased]")
def main ():
"purge cruft and other files"
print("Python: " + sys.version)
if sys.version_info < (3, 7):
print("Python 3.7+ required")
return
xParser = argparse.ArgumentParser()
xParser.add_argument("-b", "--build", help="purge _build", action="store_true")
xArgs = xParser.parse_args()
|