We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ddab14 commit a7435baCopy full SHA for a7435ba
setup.py
@@ -12,8 +12,8 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
-import distutils.dir_util
16
from setuptools import setup
+import shutil
17
import os
18
import sys
19
@@ -26,8 +26,8 @@
26
this_dir = os.path.dirname(os.path.abspath(__file__))
27
build_dir = os.path.join(this_dir, "build")
28
if os.path.isdir(build_dir):
29
- distutils.dir_util.remove_tree(build_dir)
+ shutil.rmtree(build_dir)
30
egg_dir = os.path.join(this_dir, "sPyNNaker.egg-info")
31
if os.path.isdir(egg_dir):
32
- distutils.dir_util.remove_tree(egg_dir)
+ shutil.rmtree(egg_dir)
33
setup()
0 commit comments