X7ROOT File Manager
Current Path:
/usr/lib/python3.8/site-packages/setuptools/command
usr
/
lib
/
python3.8
/
site-packages
/
setuptools
/
command
/
??
..
??
__init__.py
(594 B)
??
__pycache__
??
alias.py
(2.37 KB)
??
bdist_egg.py
(17.76 KB)
??
bdist_rpm.py
(1.47 KB)
??
bdist_wininst.py
(637 B)
??
build_clib.py
(4.38 KB)
??
build_ext.py
(12.71 KB)
??
build_py.py
(9.37 KB)
??
develop.py
(7.99 KB)
??
dist_info.py
(960 B)
??
easy_install.py
(85.4 KB)
??
egg_info.py
(24.97 KB)
??
install.py
(4.57 KB)
??
install_egg_info.py
(2.15 KB)
??
install_lib.py
(3.77 KB)
??
install_scripts.py
(2.38 KB)
??
launcher manifest.xml
(628 B)
??
py36compat.py
(4.87 KB)
??
register.py
(534 B)
??
rotate.py
(2.11 KB)
??
saveopts.py
(658 B)
??
sdist.py
(7.21 KB)
??
setopt.py
(4.97 KB)
??
test.py
(9.38 KB)
??
upload.py
(6.65 KB)
??
upload_docs.py
(7.14 KB)
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)
Upload File
Create Folder