Skip to content

Commit 32213c6

Browse files
committed
Cleanup unused imports
1 parent 9ad1bb0 commit 32213c6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

setuptools_rust/build.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import glob
2-
import json
32
import os
43
import platform
54
import shutil
@@ -15,15 +14,14 @@
1514
DistutilsPlatformError,
1615
)
1716
from distutils.sysconfig import get_config_var
18-
from subprocess import check_output
19-
from typing import Dict, List, NamedTuple, Optional, Union, cast
17+
from typing import Dict, List, NamedTuple, Optional, cast
2018

2119
from setuptools.command.build_ext import build_ext as CommandBuildExt
2220
from setuptools.command.build_ext import get_abi3_suffix
2321
from typing_extensions import Literal
2422

2523
from .command import RustCommand
26-
from .extension import Binding, RustExtension, Strip
24+
from .extension import RustExtension, Strip
2725
from .utils import (
2826
PyLimitedApi,
2927
binding_features,

setuptools_rust/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
import subprocess
33
from distutils.errors import DistutilsPlatformError
4-
from typing import List, Optional, Set, Tuple, Union
4+
from typing import List, Optional, Set, Tuple
55

66
from semantic_version import Version
77
from typing_extensions import Literal

0 commit comments

Comments
 (0)