-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
distutils is deprecated in Python 3.10+, as noted in the pip v21.3 release notes
On Python 3.10 or later, the installation scheme backend has been changed to use
sysconfig. This is to anticipate the deprecation ofdistutilsin Python 3.10, and its scheduled removal in3.12. For compatibility considerations, pip installations running on Python 3.9 or lower will continue to usedistutils.
To prevent bugs in the future that will cause tests to break, we should switch the distutils functionality
| from distutils.dir_util import copy_tree |
recast-atlas/src/recastatlas/subcommands/catalogue.py
Lines 39 to 43 in f35c780
| def create(name, path): | |
| template_path = pkg_resources.resource_filename( | |
| "recastatlas", "data/templates/helloworld" | |
| ) | |
| copy_tree(template_path, path) |
to setuptools (I think it is setuptools).