Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 18.226.104.194
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.8 /
site-packages /
setuptools /
command /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-03-05 23:45
__init__.py
594
B
-rw-r--r--
2022-04-21 12:45
alias.py
2.37
KB
-rw-r--r--
2022-04-21 12:45
bdist_egg.py
17.76
KB
-rw-r--r--
2022-04-21 12:45
bdist_rpm.py
1.47
KB
-rw-r--r--
2022-04-21 12:45
bdist_wininst.py
637
B
-rw-r--r--
2022-04-21 12:45
build_clib.py
4.38
KB
-rw-r--r--
2022-04-21 12:45
build_ext.py
12.71
KB
-rw-r--r--
2022-04-21 12:45
build_py.py
9.37
KB
-rw-r--r--
2022-04-21 12:45
develop.py
7.99
KB
-rw-r--r--
2022-04-21 12:45
dist_info.py
960
B
-rw-r--r--
2022-04-21 12:45
easy_install.py
85.4
KB
-rw-r--r--
2022-04-21 12:45
egg_info.py
24.97
KB
-rw-r--r--
2022-04-21 12:45
install.py
4.57
KB
-rw-r--r--
2022-04-21 12:45
install_egg_info.py
2.15
KB
-rw-r--r--
2022-04-21 12:45
install_lib.py
3.77
KB
-rw-r--r--
2022-04-21 12:45
install_scripts.py
2.38
KB
-rw-r--r--
2022-04-21 12:45
launcher manifest.xml
628
B
-rw-r--r--
2022-04-21 12:45
py36compat.py
4.87
KB
-rw-r--r--
2022-04-21 12:45
register.py
534
B
-rw-r--r--
2022-04-21 12:45
rotate.py
2.11
KB
-rw-r--r--
2022-04-21 12:45
saveopts.py
658
B
-rw-r--r--
2022-04-21 12:45
sdist.py
7.21
KB
-rw-r--r--
2022-04-21 12:45
setopt.py
4.97
KB
-rw-r--r--
2022-04-21 12:45
test.py
9.38
KB
-rw-r--r--
2022-04-21 12:45
upload.py
6.65
KB
-rw-r--r--
2022-04-21 12:45
upload_docs.py
7.14
KB
-rw-r--r--
2022-04-21 12:45
Save
Rename
import distutils.command.bdist_rpm as orig class bdist_rpm(orig.bdist_rpm): """ Override the default bdist_rpm behavior to do the following: 1. Run egg_info to ensure the name and version are properly calculated. 2. Always run 'install' using --single-version-externally-managed to disable eggs in RPM distributions. 3. Replace dash with underscore in the version numbers for better RPM compatibility. """ def run(self): # ensure distro name is up-to-date self.run_command('egg_info') orig.bdist_rpm.run(self) def _make_spec_file(self): version = self.distribution.get_version() rpmversion = version.replace('-', '_') spec = orig.bdist_rpm._make_spec_file(self) line23 = '%define version ' + version line24 = '%define version ' + rpmversion spec = [ line.replace( "Source0: %{name}-%{version}.tar", "Source0: %{name}-%{unmangled_version}.tar" ).replace( "setup.py install ", "setup.py install --single-version-externally-managed " ).replace( "%setup", "%setup -n %{name}-%{unmangled_version}" ).replace(line23, line24) for line in spec ] insert_loc = spec.index(line24) + 1 unmangled_version = "%define unmangled_version " + version spec.insert(insert_loc, unmangled_version) return spec