Skip to content

Commit

Permalink
Drop distutils
Browse files Browse the repository at this point in the history
  • Loading branch information
eltos committed Jan 2, 2024
1 parent 78ad82d commit 93c819b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import importlib
import inspect
import os, sys, distutils.dir_util
import os, sys, shutil
from xplt import __version__


Expand Down Expand Up @@ -102,7 +102,7 @@ def linkcode_resolve(domain, info):
# Example notebooks
def np_example_notebooks_init(app, *args):
global np_example_notebooks
np_example_notebooks = distutils.dir_util.copy_tree(
np_example_notebooks = shutil.copytree(
os.path.join(root, "examples"), os.path.join(app.srcdir, "examples")
)

Expand Down

0 comments on commit 93c819b

Please sign in to comment.