OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
lib
/
python3.6
/
dist-packages
/
setuptools
/
command
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 05:59:08 AM
rwxr-xr-x
📄
__init__.py
217 bytes
10/28/2024 05:59:07 AM
rw-r--r--
📁
__pycache__
-
10/28/2024 05:59:08 AM
rwxr-xr-x
📄
alias.py
2.33 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
bdist_egg.py
16.21 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
bdist_rpm.py
1.15 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
build_clib.py
4.31 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
build_ext.py
12.9 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
build_py.py
8.55 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
develop.py
6.85 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
dist_info.py
960 bytes
10/28/2024 05:59:07 AM
rw-r--r--
📄
easy_install.py
83.63 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
egg_info.py
25.51 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
install.py
4.79 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
install_egg_info.py
2.15 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
install_lib.py
3.78 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
install_scripts.py
2.53 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
launcher manifest.xml
628 bytes
10/28/2024 05:59:07 AM
rw-r--r--
📄
py36compat.py
4.83 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
register.py
468 bytes
10/28/2024 05:59:07 AM
rw-r--r--
📄
rotate.py
2.08 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
saveopts.py
658 bytes
10/28/2024 05:59:07 AM
rw-r--r--
📄
sdist.py
6.26 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
setopt.py
4.97 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
test.py
7.9 KB
10/28/2024 05:59:07 AM
rw-r--r--
📄
upload.py
462 bytes
10/28/2024 05:59:07 AM
rw-r--r--
📄
upload_docs.py
7.05 KB
10/28/2024 05:59:07 AM
rw-r--r--
Editing: bdist_rpm.py
Close
import distutils.command.bdist_rpm as orig import warnings from setuptools import SetuptoolsDeprecationWarning 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. """ def run(self): warnings.warn( "bdist_rpm is deprecated and will be removed in a future " "version. Use bdist_wheel (wheel packages) instead.", SetuptoolsDeprecationWarning, ) # ensure distro name is up-to-date self.run_command('egg_info') orig.bdist_rpm.run(self) def _make_spec_file(self): spec = orig.bdist_rpm._make_spec_file(self) spec = [ line.replace( "setup.py install ", "setup.py install --single-version-externally-managed " ).replace( "%setup", "%setup -n %{name}-%{unmangled_version}" ) for line in spec ] return spec