Skip to content

Commit 57fb1e0

Browse files
committed
Fix distutil deps
1 parent d954ee2 commit 57fb1e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_CustomXacro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from roboticstoolbox import Robot
1010
from spatialmath import SE3
1111
from roboticstoolbox.tools.data import rtb_path_to_datafile
12-
from distutils.dir_util import copy_tree
12+
from shutil import copytree
1313
from os import mkdir, path
1414
import tempfile as tf
1515

@@ -52,7 +52,7 @@ def __init__(self, xacro_path):
5252
panda_xacro = xacro_path / "franka_description"
5353

5454
# Copy into temp franka directory
55-
copy_tree(panda_xacro, franka_dir)
55+
copytree(panda_xacro, franka_dir, dirs_exist_ok=True)
5656

5757
# Make our custom robot
5858
robot = CustomPanda(xacro_dir)

0 commit comments

Comments
 (0)