We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32a1713 commit dbaa939Copy full SHA for dbaa939
1 file changed
setup.py
@@ -1,18 +1,18 @@
1
"""setuptools config for wallycore """
2
from setuptools import setup, Extension
3
import copy
4
-import distutils.sysconfig
5
import os
6
import platform
7
import subprocess
8
import sys
+import sysconfig
9
10
def _msg(s):
11
print(s + '\n', file=sys.stderr)
12
13
ABS_PATH = os.path.dirname(os.path.abspath(__file__)) + '/'
14
CONFIGURE_ENV = copy.deepcopy(os.environ)
15
-DISTUTILS_ENV = distutils.sysconfig.get_config_vars()
+DISTUTILS_ENV = sysconfig.get_config_vars()
16
IS_WINDOWS = platform.system() == "Windows"
17
ARCH_FLAGS = os.environ.get('ARCHFLAGS', '').split()
18
USE_LIB = os.environ.get('WALLY_ABI_PY_WHEEL_USE_LIB', 'no')
0 commit comments