/snap/core22/2437/usr/lib/python3/dist-packages/setuptools/command
NameSizeModeActions
__pycache__/-0755rm
alias.py23810644editdlrm
bdist_egg.py166040644editdlrm
bdist_rpm.py11820644editdlrm
build_clib.py44150644editdlrm
build_ext.py132120644editdlrm
build_py.py87510644editdlrm
develop.py70120644editdlrm
dist_info.py9600644editdlrm
easy_install.py879730644editdlrm
egg_info.py261340644editdlrm
install.py49060644editdlrm
install_egg_info.py31950644editdlrm
install_lib.py50360644editdlrm
install_scripts.py25930644editdlrm
launcher manifest.xml6280644editdlrm
py36compat.py49460644editdlrm
register.py4680644editdlrm
rotate.py21280644editdlrm
saveopts.py6580644editdlrm
sdist.py64130644editdlrm
setopt.py50860644editdlrm
test.py80880644editdlrm
upload.py4620644editdlrm
upload_docs.py72180644editdlrm
__init__.py2170644editdlrm
Edit: /snap/core22/2437/usr/lib/python3/dist-packages/setuptools/command/saveopts.py (658B)
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)