/opt/alt/python37/lib/python3.7/site-packages/setuptools
NameSizeModeActions
command/-0755rm
extern/-0755rm
_distutils/-0755rm
_vendor/-0755rm
__pycache__/-0755rm
archive_util.py70770644editdlrm
build_meta.py102800644editdlrm
config.py231230644editdlrm
depends.py54740644editdlrm
dep_util.py9490644editdlrm
dist.py430870644editdlrm
errors.py5240644editdlrm
extension.py16840644editdlrm
glob.py48730644editdlrm
installer.py35670644editdlrm
launch.py8120644editdlrm
monkey.py52170644editdlrm
msvc.py505610644editdlrm
namespaces.py30930644editdlrm
package_index.py398860644editdlrm
py34compat.py2450644editdlrm
sandbox.py143480644editdlrm
script (dev).tmpl2180644editdlrm
script.tmpl1380644editdlrm
unicode_utils.py9410644editdlrm
version.py1440644editdlrm
wheel.py82880644editdlrm
windows_support.py7140644editdlrm
_deprecation_warning.py2180644editdlrm
_imp.py23920644editdlrm
__init__.py76700644editdlrm
Edit: /opt/alt/python37/lib/python3.7/site-packages/setuptools/windows_support.py (714B)
import platform import ctypes def windows_only(func): if platform.system() != 'Windows': return lambda *args, **kwargs: None return func @windows_only def hide_file(path): """ Set the hidden attribute on a file or directory. From http://stackoverflow.com/questions/19622133/ `path` must be text. """ __import__('ctypes.wintypes') SetFileAttributes = ctypes.windll.kernel32.SetFileAttributesW SetFileAttributes.argtypes = ctypes.wintypes.LPWSTR, ctypes.wintypes.DWORD SetFileAttributes.restype = ctypes.wintypes.BOOL FILE_ATTRIBUTE_HIDDEN = 0x02 ret = SetFileAttributes(path, FILE_ATTRIBUTE_HIDDEN) if not ret: raise ctypes.WinError()