Skip to main content

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.

Metadata

Release files for backports.shutil-copytree 0.0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for backports.shutil-copytree 0.0.1.0
File Size Uploaded
backports.shutil_copytree-0.0.1.0.tar.gz 4.4 kB Details

Release files / backports.shutil_copytree-0.0.1.0.tar.gz

Download URL backports.shutil_copytree-0.0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e59ba1f6ac653d754daa1e526ba9f601875af32b94bb796812c36321e658c492
BLAKE2b-256 checksum
How to use checksums
577c800c3b04c117104ee929ebab52529a5cf972685fc53f47782b6aceed0922
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.1 requests/2.25.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.18

Release history Release notifications | RSS feed

This release

0.0.1.0 This release

1 release file

0.0.0.2

1 release file

0.0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page