Skip to content

Commit

Permalink
Updated distutils.util.get_platform() to sysconfig.get_platform(). (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
vayfarer authored May 27, 2024
1 parent ad3ef60 commit 831d94f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import argparse
import copy
import distutils
import sysconfig
import os
import sys
import traceback
Expand Down Expand Up @@ -95,7 +95,7 @@ def readme():
# ============================================================

def is_new_osx():
name = distutils.util.get_platform()
name = sysconfig.get_platform()
if sys.platform != "darwin":
return False
elif name.startswith("macosx-10"):
Expand Down

0 comments on commit 831d94f

Please sign in to comment.