mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
aedi: use version module from packaging
distutils has been removed from python 3.12, so it's version module is no longer available in original python distribution fix #61
This commit is contained in:
parent
be7f36ac9a
commit
a64068ac0d
2 changed files with 3 additions and 2 deletions
|
@ -23,9 +23,9 @@ import shutil
|
|||
import subprocess
|
||||
import typing
|
||||
import urllib.request
|
||||
from distutils.version import StrictVersion
|
||||
from pathlib import Path
|
||||
|
||||
from .packaging.version import Version as StrictVersion
|
||||
from .utility import CommandLineOptions
|
||||
|
||||
|
||||
|
|
|
@ -20,9 +20,10 @@ import collections.abc
|
|||
import os
|
||||
import shutil
|
||||
import typing
|
||||
from distutils.version import StrictVersion
|
||||
from pathlib import Path
|
||||
|
||||
from .packaging.version import Version as StrictVersion
|
||||
|
||||
# Minimum OS versions
|
||||
OS_VERSION_X86_64 = StrictVersion('10.13')
|
||||
OS_VERSION_ARM64 = StrictVersion('11.0')
|
||||
|
|
Loading…
Reference in a new issue