/opt/alt/python37/lib/python3.7/site-packages/setuptools
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()
.
Edit
..
Edit
__init__.py
Edit
__pycache__
Edit
_deprecation_warning.py
Edit
_distutils
Edit
_imp.py
Edit
_vendor
Edit
archive_util.py
Edit
build_meta.py
Edit
command
Edit
config.py
Edit
dep_util.py
Edit
depends.py
Edit
dist.py
Edit
errors.py
Edit
extension.py
Edit
extern
Edit
glob.py
Edit
installer.py
Edit
launch.py
Edit
monkey.py
Edit
msvc.py
Edit
namespaces.py
Edit
package_index.py
Edit
py34compat.py
Edit
sandbox.py
Edit
script (dev).tmpl
Edit
script.tmpl
Edit
unicode_utils.py
Edit
version.py
Edit
wheel.py
Edit
windows_support.py
Edit