Grammalecte  Check-in [9863820602]

Overview
Comment:[build] purge.py: fix Python version requirements
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | build
Files: files | file ages | folders
SHA3-256: 98638206026564fa8771951df10f39eb1efafb6066cf419e399789844a7ecfa1
User & Date: olr on 2024-06-11 08:52:59
Other Links: manifest | tags
Context
2024-06-11
08:59
[graphspell] new ad hoc suggestions check-in: 3148bfaece user: olr tags: trunk, graphspell
08:52
[build] purge.py: fix Python version requirements check-in: 9863820602 user: olr tags: trunk, build
08:50
[fx][tb] lexical editor: small bug fix check-in: df4049b2b3 user: olr tags: trunk, tb, fx
Changes

Modified purge.py from [b56a852cf2] to [652a60fb6b].

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()