Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit 336997d

Browse files
committed
Clean up missing/unnecessary imports following #110
1 parent ee59f09 commit 336997d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

astropy_helpers/commands/build_ext.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import errno
22
import os
3+
import shutil
34

45
from distutils.core import Extension
56
from setuptools.command.build_ext import build_ext as SetuptoolsBuildExt
67

7-
from ..utils import get_numpy_include_path
8+
from ..utils import get_numpy_include_path, invalidate_caches
89
from ..version_helpers import get_pkg_version_module
910

1011

astropy_helpers/setup_helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import subprocess
1515
import sys
1616
import textwrap
17+
import traceback
1718

1819
from distutils import log, ccompiler, sysconfig
1920
from distutils.dist import Distribution
@@ -29,7 +30,7 @@
2930
add_command_option)
3031
from .version_helpers import get_pkg_version_module
3132
from .test_helpers import AstropyTest
32-
from .utils import invalidate_caches, walk_skip_hidden, import_file
33+
from .utils import walk_skip_hidden, import_file
3334

3435
# This import is not used in this module, but it is included for backwards
3536
# compat with version 0.4, which included this function in the public API

0 commit comments

Comments
 (0)