Skip to content

Commit dbaa939

Browse files
committed
build: remove distutils dependency
1 parent 32a1713 commit dbaa939

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
"""setuptools config for wallycore """
22
from setuptools import setup, Extension
33
import copy
4-
import distutils.sysconfig
54
import os
65
import platform
76
import subprocess
87
import sys
8+
import sysconfig
99

1010
def _msg(s):
1111
print(s + '\n', file=sys.stderr)
1212

1313
ABS_PATH = os.path.dirname(os.path.abspath(__file__)) + '/'
1414
CONFIGURE_ENV = copy.deepcopy(os.environ)
15-
DISTUTILS_ENV = distutils.sysconfig.get_config_vars()
15+
DISTUTILS_ENV = sysconfig.get_config_vars()
1616
IS_WINDOWS = platform.system() == "Windows"
1717
ARCH_FLAGS = os.environ.get('ARCHFLAGS', '').split()
1818
USE_LIB = os.environ.get('WALLY_ABI_PY_WHEEL_USE_LIB', 'no')

0 commit comments

Comments
 (0)