Skip to content

Commit a7435ba

Browse files
committed
remove distutils
1 parent 4ddab14 commit a7435ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import distutils.dir_util
1615
from setuptools import setup
16+
import shutil
1717
import os
1818
import sys
1919

@@ -26,8 +26,8 @@
2626
this_dir = os.path.dirname(os.path.abspath(__file__))
2727
build_dir = os.path.join(this_dir, "build")
2828
if os.path.isdir(build_dir):
29-
distutils.dir_util.remove_tree(build_dir)
29+
shutil.rmtree(build_dir)
3030
egg_dir = os.path.join(this_dir, "sPyNNaker.egg-info")
3131
if os.path.isdir(egg_dir):
32-
distutils.dir_util.remove_tree(egg_dir)
32+
shutil.rmtree(egg_dir)
3333
setup()

0 commit comments

Comments
 (0)