o
    Ù_hÛ  ã                   @  sL  d Z ddlmZ zedƒ W nM ey[   ddlmZ ddlmZ	 ddlm
Z ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ dZY nEw ddlmZ ddlm	Z	 ddlmZ ddl mZ ddl!mZ ddl"mZ ddl#mZ ddl$mZ ddl%mZ ddl&mZ ddl'mZ dZg d¢Z(dS )a  Minimal, stdlib-only replacement for [`pyfilesystem2`][1] API for use by `fontTools.ufoLib`.

This package is a partial reimplementation of the `fs` package by Will McGugan, used under the
MIT license. See LICENSE.external for details.

Note this only exports a **subset** of the `pyfilesystem2` API, in particular the modules,
classes and functions that are currently used directly by `fontTools.ufoLib`.

It opportunistically tries to import the relevant modules from the upstream `fs` package
when this is available. Otherwise it falls back to the replacement modules within this package.

As of version 4.59.0, the `fonttools[ufo]` extra no longer requires the `fs` package, thus
this `fontTools.misc.filesystem` package is used by default.

Client code can either replace `import fs` with `from fontTools.misc import filesystem as fs`
if that happens to work (no guarantee), or they can continue to use `fs` but they will have
to specify it as an explicit dependency of their project.

[1]: https://github.com/PyFilesystem/pyfilesystem2
é    )ÚannotationsÚfsé   )Ú_base)Ú_copy)Ú_errors)Ú_info)Ú_osfs)Ú_path)Ú_subfs)Ú_tempfs)Ú_tools)Ú_walk)Ú_zipfsFNT)ÚbaseÚcopyÚerrorsÚinfoÚosfsÚpathÚsubfsÚtempfsÚtoolsÚwalkÚzipfs))Ú__doc__Ú
__future__r   Ú
__import__ÚImportErrorÚ r   r   r   r   r   r   r   r   r	   r   r
   r   r   r   r   r   r   r   r   r   r   r   Ú_haveFSÚfs.baseÚfs.copyÚ	fs.errorsÚfs.infoÚfs.osfsÚfs.pathÚfs.subfsÚ	fs.tempfsÚfs.toolsÚfs.walkÚfs.zipfsÚ__all__© r-   r-   úV/var/www/html/myenv/lib/python3.10/site-packages/fontTools/misc/filesystem/__init__.pyÚ<module>   s>    ó