backports shutil copytree (mainly for Python2)
Project description
backports.shutil_copytree
Usage
try:
from inspect import signature
except ImportError:
try:
from funcsigs import signature
except ImportError:
signature = None
from shutil import copytree
if 'dirs_exist_ok' not in signature(copytree).parameters:
from backports.shutil_copytree import copytree
Caveats
- symlink stat is not copied when Python<3.3
- directory junctions check on Windows Python<3.8 is done via pywin32, which is less-tested.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for backports.shutil_copytree-0.0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d137d1a21c73314ba77033ba827f888f5791d6831adb2d7d2a953b6181e4ab9 |
|
MD5 | ccf7d2c7ac76f5f7d541e3b1d26cf48d |
|
BLAKE2b-256 | 2bf0c1a1e40db90bfeff0d1324f3e00a2aa1869e9791e31cc24a582112acfca7 |