PATH: //proc/self/root/opt/alt/python311/lib/python3.11/site-packages/setuptools/command
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📁 __pycache__/
X
📄 alias.py
↓
X
📄 bdist_egg.py
↓
X
📄 bdist_rpm.py
↓
X
📄 build.py
↓
X
📄 build_clib.py
↓
X
📄 build_ext.py
↓
X
📄 build_py.py
↓
X
📄 develop.py
↓
X
📄 dist_info.py
↓
X
📄 easy_install.py
↓
X
📄 editable_wheel.py
↓
X
📄 egg_info.py
↓
X
📄 install.py
↓
X
📄 install_egg_info.py
↓
X
📄 install_lib.py
↓
X
📄 install_scripts.py
↓
X
📄 launcher manifest.xml
↓
X
📄 py36compat.py
↓
X
📄 register.py
↓
X
📄 rotate.py
↓
X
📄 saveopts.py
↓
X
📄 sdist.py
↓
X
📄 setopt.py
↓
X
📄 test.py
↓
X
📄 upload.py
↓
X
📄 upload_docs.py
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: saveopts.py
from setuptools.command.setopt import edit_config, option_base class saveopts(option_base): """Save command-line options to a file""" description = "save supplied options to setup.cfg or other config file" def run(self): dist = self.distribution settings = {} for cmd in dist.command_options: if cmd == 'saveopts': continue # don't save our own options! for opt, (src, val) in dist.get_option_dict(cmd).items(): if src == "command line": settings.setdefault(cmd, {})[opt] = val edit_config(self.filename, settings, self.dry_run)
SIMPAN PERUBAHAN