PATH: //proc/self/root/opt/alt/python311/lib/python3.11/site-packages/setuptools
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📁 __pycache__/
X
📄 _deprecation_warning.py
↓
X
📁 _distutils/
X
📄 _entry_points.py
↓
X
📄 _imp.py
↓
X
📄 _importlib.py
↓
X
📄 _itertools.py
↓
X
📄 _path.py
↓
X
📄 _reqs.py
↓
X
📁 _vendor/
X
📄 archive_util.py
↓
X
📄 build_meta.py
↓
X
📁 command/
X
📁 config/
X
📄 dep_util.py
↓
X
📄 depends.py
↓
X
📄 discovery.py
↓
X
📄 dist.py
↓
X
📄 errors.py
↓
X
📄 extension.py
↓
X
📁 extern/
X
📄 glob.py
↓
X
📄 installer.py
↓
X
📄 launch.py
↓
X
📄 logging.py
↓
X
📄 monkey.py
↓
X
📄 msvc.py
↓
X
📄 namespaces.py
↓
X
📄 package_index.py
↓
X
📄 py34compat.py
↓
X
📄 sandbox.py
↓
X
📄 script (dev).tmpl
↓
X
📄 script.tmpl
↓
X
📄 unicode_utils.py
↓
X
📄 version.py
↓
X
📄 wheel.py
↓
X
📄 windows_support.py
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: logging.py
import sys import inspect import logging import distutils.log from . import monkey def _not_warning(record): return record.levelno < logging.WARNING def configure(): """ Configure logging to emit warning and above to stderr and everything else to stdout. This behavior is provided for compatibility with distutils.log but may change in the future. """ err_handler = logging.StreamHandler() err_handler.setLevel(logging.WARNING) out_handler = logging.StreamHandler(sys.stdout) out_handler.addFilter(_not_warning) handlers = err_handler, out_handler logging.basicConfig( format="{message}", style='{', handlers=handlers, level=logging.DEBUG) if inspect.ismodule(distutils.dist.log): monkey.patch_func(set_threshold, distutils.log, 'set_threshold') # For some reason `distutils.log` module is getting cached in `distutils.dist` # and then loaded again when patched, # implying: id(distutils.log) != id(distutils.dist.log). # Make sure the same module object is used everywhere: distutils.dist.log = distutils.log def set_threshold(level): logging.root.setLevel(level*10) return set_threshold.unpatched(level)
SIMPAN PERUBAHAN