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.218.221.53
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.6 /
site-packages /
setuptools /
command /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-08-20 10:30
__init__.py
594
B
-rw-r--r--
2024-08-19 07:28
alias.py
2.37
KB
-rw-r--r--
2024-08-19 07:28
bdist_egg.py
17.76
KB
-rw-r--r--
2024-08-19 07:28
bdist_rpm.py
1.47
KB
-rw-r--r--
2024-08-19 07:28
bdist_wininst.py
637
B
-rw-r--r--
2024-08-19 07:28
build_clib.py
4.38
KB
-rw-r--r--
2024-08-19 07:28
build_ext.py
12.86
KB
-rw-r--r--
2024-08-19 07:28
build_py.py
9.37
KB
-rw-r--r--
2024-08-19 07:28
develop.py
7.86
KB
-rw-r--r--
2024-08-19 07:28
dist_info.py
960
B
-rw-r--r--
2024-08-19 07:28
easy_install.py
85.16
KB
-rw-r--r--
2024-08-19 07:28
egg_info.py
24.22
KB
-rw-r--r--
2024-08-19 07:28
install.py
4.57
KB
-rw-r--r--
2024-08-19 07:28
install_egg_info.py
2.15
KB
-rw-r--r--
2024-08-19 07:28
install_lib.py
3.75
KB
-rw-r--r--
2024-08-19 07:28
install_scripts.py
2.38
KB
-rw-r--r--
2024-08-19 07:28
launcher manifest.xml
628
B
-rw-r--r--
2024-08-19 07:28
py36compat.py
4.87
KB
-rw-r--r--
2024-08-19 07:28
register.py
270
B
-rw-r--r--
2024-08-19 07:28
rotate.py
2.11
KB
-rw-r--r--
2024-08-19 07:28
saveopts.py
658
B
-rw-r--r--
2024-08-19 07:28
sdist.py
6.55
KB
-rw-r--r--
2024-08-19 07:28
setopt.py
4.97
KB
-rw-r--r--
2024-08-19 07:28
test.py
9
KB
-rw-r--r--
2024-08-19 07:28
upload.py
1.14
KB
-rw-r--r--
2024-08-19 07:28
upload_docs.py
7.14
KB
-rw-r--r--
2024-08-19 07:28
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