X7ROOT File Manager
Current Path:
/usr/lib64/python2.7/site-packages
usr
/
lib64
/
python2.7
/
site-packages
/
📁
..
📄
Brlapi-0.6.0-py2.7.egg-info
(225 B)
📁
OpenSSL
📁
PIL
📁
Pillow-2.0.0-py2.7.egg-info
📁
PyKDE4
📁
PyQt4
📄
PyYAML-3.10-py2.7.egg-info
(1.72 KB)
📄
README
(119 B)
📄
_audit.so
(163.65 KB)
📄
_cffi_backend.so
(156.55 KB)
📄
_dbus_bindings.so
(162.35 KB)
📄
_dbus_glib_bindings.so
(11.7 KB)
📁
_dbus_qt
📄
_deltarpmmodule.so
(44.21 KB)
📄
_imaging.so
(295.08 KB)
📄
_imagingft.so
(21.56 KB)
📄
_imagingmath.so
(19.39 KB)
📄
_ldb_text.py
(3.45 KB)
📄
_ldb_text.pyc
(5.96 KB)
📄
_ldb_text.pyo
(5.96 KB)
📄
_pedmodule.so
(171.98 KB)
📄
_posixsubprocess.so
(20.45 KB)
📄
_pywsman.so
(305.02 KB)
📄
_semanage.so
(311.41 KB)
📄
_snackmodule.so
(39.95 KB)
📄
_sqlitecache.so
(49.03 KB)
📄
_tdb_text.py
(3.27 KB)
📄
_tdb_text.pyc
(5.28 KB)
📄
_tdb_text.pyo
(5.28 KB)
📄
_webp.so
(11.02 KB)
📄
_yaml.so
(164.26 KB)
📄
abrt.pth
(30 B)
📄
abrt_exception_handler.py
(9.34 KB)
📄
abrt_exception_handler.pyc
(7.23 KB)
📄
abrt_exception_handler.pyo
(7.23 KB)
📄
acutilmodule.so
(11.08 KB)
📄
audit.py
(45.11 KB)
📄
audit.pyc
(43.89 KB)
📄
audit.pyo
(43.89 KB)
📄
auparse.so
(63.2 KB)
📁
backports
📁
block
📄
brlapi.so
(164.98 KB)
📁
cairo
📁
cffi
📁
cffi-1.6.0-py2.7.egg-info
📁
coverage
📁
coverage-3.6b3-py2.7.egg-info
📁
cryptography
📁
cryptography-1.7.2-py2.7.egg-info
📄
cups.so
(163.38 KB)
📄
cupsext.so
(34.77 KB)
📁
curl
📁
dbus
📄
deltarpm.py
(234 B)
📄
deltarpm.pyc
(384 B)
📄
deltarpm.pyo
(384 B)
📄
dmidecode.py
(3.38 KB)
📄
dmidecode.pyc
(2.25 KB)
📄
dmidecode.pyo
(2.25 KB)
📄
dmidecodemod.so
(182.78 KB)
📄
drv_libxml2.py
(14.71 KB)
📄
drv_libxml2.pyc
(10.94 KB)
📄
drv_libxml2.pyo
(10.94 KB)
📄
ethtool-0.8-py2.7.egg-info
(307 B)
📄
ethtool.so
(42.83 KB)
📁
gi
📁
glib
📁
gnome_abrt
📁
gobject
📁
gpgme
📁
gtk-2.0
📄
hpmudext.so
(15.82 KB)
📁
kmod
📄
kmod-0.1-py2.7.egg-info
(207 B)
📄
ldb.so
(93.71 KB)
📄
libiscsimodule.so
(20.59 KB)
📄
liblzma.py
(164 B)
📄
liblzma.pyc
(361 B)
📄
liblzma.pyo
(361 B)
📄
libusermodule.so
(55.71 KB)
📄
libxml2.py
(337.44 KB)
📄
libxml2.pyc
(438.93 KB)
📄
libxml2.pyo
(438.93 KB)
📄
libxml2mod.so
(417.95 KB)
📄
lvm-2.02.187_2_RHEL7._2020_03_24_-py2.7.egg-info
(264 B)
📄
lvm.so
(61.95 KB)
📁
lxml
📁
lxml-3.2.1-py2.7.egg-info
📄
lzma.so
(66.3 KB)
📁
nss
📄
officehelper.py
(3.21 KB)
📄
officehelper.pyc
(2.2 KB)
📄
officehelper.pyo
(2.2 KB)
📁
orca
📁
parted
📄
pcardext.so
(19.98 KB)
📄
perf-0.1-py2.7.egg-info
(261 B)
📄
perf.so
(335.91 KB)
📁
policycoreutils
📄
policycoreutils_default_encoding-0.1-py2.7.egg-info
(300 B)
📁
problem
📄
pwquality.so
(20.32 KB)
📄
pyOpenSSL-0.13.1-py2.7.egg-info
(582 B)
📁
pyanaconda
📄
pycryptsetup.so
(27.27 KB)
📄
pycups-1.9.63-py2.7.egg-info
(1.17 KB)
📄
pycurl-7.19.0-py2.7.egg-info
(366 B)
📄
pycurl.so
(69.09 KB)
📄
pygobject-3.22.0-py2.7-linux-x86_64.egg-info
(1013 B)
📄
pygpgme-0.3-py2.7.egg-info
(889 B)
📄
pygtk.pth
(8 B)
📄
pygtk.py
(2.9 KB)
📄
pygtk.pyc
(2.01 KB)
📄
pygtk.pyo
(1.72 KB)
📁
pygtkcompat
📁
pyliblzma-0.5.3-py2.7.egg-info
📄
pyparted-3.9-py2.7.egg-info
(265 B)
📄
pysmbc-1.0.13-py2.7.egg-info
(1.75 KB)
📄
python_dmidecode-3.10.13-py2.7.egg-info
(311 B)
📄
python_nss-0.16.0-py2.7.egg-info
(2.19 KB)
📄
pywsman.py
(79.51 KB)
📄
pywsman.pyc
(101.92 KB)
📄
pywsman.pyo
(101.92 KB)
📁
pyxattr-0.5.1-py2.7.egg-info
📁
report
📁
reportclient
📁
rpm
📄
scanext.so
(20.48 KB)
📄
schedutils-0.4-py2.7.egg-info
(291 B)
📄
schedutils.so
(15.53 KB)
📁
selinux
📄
semanage.py
(54.1 KB)
📄
semanage.pyc
(67.86 KB)
📄
semanage.pyo
(67.86 KB)
📁
seobject
📄
seobject-0.1-py2.7.egg-info
(291 B)
📁
sepolgen
📁
sepolicy
📄
sepolicy-1.1-py2.7.egg-info
(227 B)
📄
setproctitle-1.1.6-py2.7.egg-info
(8.51 KB)
📄
setproctitle.so
(15.51 KB)
📁
setroubleshoot
📄
setroubleshoot-1.1-py2.7.egg-info
(217 B)
📄
sip.so
(119.89 KB)
📄
sipconfig.py
(93.57 KB)
📄
sipconfig.pyc
(70.54 KB)
📄
sipconfig.pyo
(70.54 KB)
📄
sipdistutils.py
(5.9 KB)
📄
sipdistutils.pyc
(5.69 KB)
📄
sipdistutils.pyo
(5.69 KB)
📄
smbc.so
(39.02 KB)
📄
snack.py
(30.23 KB)
📄
snack.pyc
(39.98 KB)
📄
snack.pyo
(39.98 KB)
📁
speechd
📁
speechd_config
📄
sqlitecachec.py
(2.45 KB)
📄
sqlitecachec.pyc
(2.12 KB)
📄
sqlitecachec.pyo
(2.12 KB)
📄
subprocess32-3.2.6-py2.7.egg-info
(641 B)
📄
subprocess32.py
(72.62 KB)
📄
subprocess32.pyc
(48.63 KB)
📄
subprocess32.pyo
(48.51 KB)
📁
systemd
📄
talloc.so
(12.41 KB)
📄
tdb.so
(29.96 KB)
📄
uno.py
(16.85 KB)
📄
uno.pyc
(18.01 KB)
📄
uno.pyo
(17.73 KB)
📄
unohelper.py
(10.7 KB)
📄
unohelper.pyc
(12.17 KB)
📄
unohelper.pyo
(12.17 KB)
📁
urwid
📁
urwid-1.1.1-py2.7.egg-info
📄
xattr.so
(31.76 KB)
📁
yaml
📄
yum_metadata_parser-1.1.4-py2.7.egg-info
(213 B)
📁
zope
📄
zope.interface-4.0.5-py2.7-nspkg.pth
(301 B)
📁
zope.interface-4.0.5-py2.7.egg-info
Editing: sipdistutils.py
# Subclasses disutils.command.build_ext, replacing it with a SIP version that # compiles .sip -> .cpp before calling the original build_ext command. # Based on Pyrex.Distutils, written by Graham Fawcett and Darrel Gallion. # # Copyright (c) 2011 Develer Srl. # # This file is part of SIP. # # This copy of SIP is licensed for use under the terms of the SIP License # Agreement. See the file LICENSE for more details. # # This copy of SIP may also used under the terms of the GNU General Public # License v2 or v3 as published by the Free Software Foundation which can be # found in the files LICENSE-GPL2 and LICENSE-GPL3 included in this package. # # SIP is supplied WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. import distutils.command.build_ext from distutils.dep_util import newer, newer_group import os import sys from hashlib import sha1 build_ext_base = distutils.command.build_ext.build_ext def replace_suffix(path, new_suffix): return os.path.splitext(path)[0] + new_suffix class build_ext (build_ext_base): description = "Compile SIP descriptions, then build C/C++ extensions (compile/link to build directory)" user_options = build_ext_base.user_options[:] user_options = [opt for opt in user_options if not opt[0].startswith("swig")] user_options += [ ('sip-opts=', None, "list of sip command line options"), ] def initialize_options (self): build_ext_base.initialize_options(self) self.sip_opts = None def finalize_options (self): build_ext_base.finalize_options(self) if self.sip_opts is None: self.sip_opts = [] else: self.sip_opts = self.sip_opts.split(' ') def _get_sip_output_list(self, sbf): """ Parse the sbf file specified to extract the name of the generated source files. Make them absolute assuming they reside in the temp directory. """ for L in open(sbf).readlines(): key, value = L.split("=", 1) if key.strip() == "sources": out = [] for o in value.split(): out.append(os.path.join(self._sip_output_dir(), o)) return out raise RuntimeError("cannot parse SIP-generated '%s'" % sbf) def _find_sip(self): import sipconfig cfg = sipconfig.Configuration() if os.name == "nt": if not os.path.splitext(os.path.basename(cfg.sip_bin))[1]: return cfg.sip_bin + ".exe" return cfg.sip_bin def _sip_inc_dir(self): import sipconfig cfg = sipconfig.Configuration() return cfg.sip_inc_dir def _sip_sipfiles_dir(self): import sipconfig cfg = sipconfig.Configuration() return cfg.default_sip_dir def _sip_calc_signature(self): sip_bin = self._find_sip() return sha1(open(sip_bin, "rb").read()).hexdigest() def _sip_signature_file(self): return os.path.join(self._sip_output_dir(), "sip.signature") def _sip_output_dir(self): return self.build_temp def build_extension (self, ext): oldforce = self.force if not self.force: sip_sources = [source for source in ext.sources if source.endswith('.sip')] if sip_sources: sigfile = self._sip_signature_file() if not os.path.isfile(sigfile): self.force = True else: old_sig = open(sigfile).read() new_sig = self._sip_calc_signature() if old_sig != new_sig: self.force = True build_ext_base.build_extension(self, ext) self.force = oldforce def swig_sources (self, sources, extension=None): if not self.extensions: return # Add the SIP include directory to the include path if extension is not None: # Command line sip_opts take precedence. if len(self.sip_opts) == 0: self.sip_opts.extend(extension.swig_opts) extension.include_dirs.append(self._sip_inc_dir()) depends = extension.depends else: # pre-2.4 compatibility self.include_dirs.append(self._sip_inc_dir()) depends = [] # ? # Filter dependencies list: we are interested only in .sip files, # since the main .sip files can only depend on additional .sip # files. For instance, if a .h changes, there is no need to # run sip again. depends = [f for f in depends if os.path.splitext(f)[1] == ".sip"] # Create the temporary directory if it does not exist already if not os.path.isdir(self._sip_output_dir()): os.makedirs(self._sip_output_dir()) # Collect the names of the source (.sip) files sip_sources = [] sip_sources = [source for source in sources if source.endswith('.sip')] other_sources = [source for source in sources if not source.endswith('.sip')] generated_sources = [] sip_bin = self._find_sip() for sip in sip_sources: # Use the sbf file as dependency check sipbasename = os.path.basename(sip) sbf = os.path.join(self._sip_output_dir(), replace_suffix(sipbasename, ".sbf")) if newer_group([sip]+depends, sbf) or self.force: self._sip_compile(sip_bin, sip, sbf) open(self._sip_signature_file(), "w").write(self._sip_calc_signature()) out = self._get_sip_output_list(sbf) generated_sources.extend(out) return generated_sources + other_sources def _sip_compile(self, sip_bin, source, sbf): self.spawn([sip_bin] + self.sip_opts + ["-c", self._sip_output_dir(), "-b", sbf, "-I", self._sip_sipfiles_dir(), source])
Upload File
Create Folder