File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import os
22import sys
3+ from distutils import ccompiler
4+ from distutils .command .clean import clean
5+ from distutils .sysconfig import customize_compiler
36from glob import glob
47
58import cpuinfo
9+ import pkgconfig
610from Cython .Distutils .build_ext import new_build_ext as build_ext
711from setuptools import Extension , setup
812from setuptools .errors import CCompilerError , ExecError , PlatformError
9- from distutils import ccompiler
10- from distutils .command .clean import clean
11- from distutils .sysconfig import customize_compiler
12- import pkgconfig
1313
1414# determine CPU support for SSE2 and AVX2
1515cpu_info = cpuinfo .get_cpu_info ()
@@ -472,14 +472,14 @@ def run(self):
472472 build_ext .run (self )
473473 except PlatformError as e :
474474 error (e )
475- raise BuildFailed ()
475+ raise BuildFailed
476476
477477 def build_extension (self , ext ):
478478 try :
479479 build_ext .build_extension (self , ext )
480480 except ext_errors as e :
481481 error (e )
482- raise BuildFailed ()
482+ raise BuildFailed
483483
484484
485485class Sclean (clean ):
You can’t perform that action at this time.
0 commit comments