Skip to content

Commit

Permalink
replace distutils with setuptools for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeharker committed Dec 9, 2024
1 parent c1bd220 commit 3976e04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion module/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import ctypes.util
import functools
import io
import os
import platform
import struct
import weakref
Expand Down
2 changes: 1 addition & 1 deletion module/ffi_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from distutils.errors import CCompilerError, DistutilsExecError, DistutilsPlatformError
from setuptools.errors import CCompilerError, DistutilsExecError, DistutilsPlatformError
from warnings import warn

from cffi import FFI
Expand Down

0 comments on commit 3976e04

Please sign in to comment.