File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
def is_manylinux1_compatible ():
7
7
# Only Linux, and only x86-64 / i686
8
- from distutils . util import get_platform
8
+ from sysconfig import get_platform
9
9
if get_platform () not in ["linux-x86_64" , "linux-i686" ]:
10
10
return False
11
11
@@ -23,7 +23,7 @@ def is_manylinux1_compatible():
23
23
24
24
def is_manylinux2010_compatible ():
25
25
# Only Linux, and only x86-64 / i686
26
- from distutils . util import get_platform
26
+ from sysconfig import get_platform
27
27
if get_platform () not in ["linux-x86_64" , "linux-i686" ]:
28
28
return False
29
29
@@ -41,7 +41,7 @@ def is_manylinux2010_compatible():
41
41
42
42
def is_manylinux2014_compatible ():
43
43
# Only Linux, and only supported architectures
44
- from distutils . util import get_platform
44
+ from sysconfig import get_platform
45
45
if get_platform () not in [
46
46
"linux-x86_64" ,
47
47
"linux-i686" ,
You can’t perform that action at this time.
0 commit comments