Home
last modified time | relevance | path

Searched refs:is_py2 (Results 1 – 25 of 249) sorted by relevance

12345678910

/dports/devel/py-pyinstaller/PyInstaller-3.5/tests/old_suite/
H A Dsetupenv_windows.py35 from PyInstaller.compat import is_py2
92 'keyring': is_py2,
93 'MySQLdb': is_py2,
94 'numpy': is_py2,
95 'PIL': is_py2,
96 'psycopg2': is_py2,
97 'simplejson': is_py2,
98 'twisted': is_py2, # wheels are avalable for 2.7 only
100 'wx': is_py2,
/dports/www/py-requests-cache/requests-cache-0.4.13/requests_cache/
H A Dcompat.py18 is_py2 = (_ver[0] == 2) variable
39 is_py27 = (is_py2 and _ver[1] == 7)
42 is_py26 = (is_py2 and _ver[1] == 6)
45 is_py25 = (is_py2 and _ver[1] == 5)
48 is_py24 = (is_py2 and _ver[1] == 4) # I'm assuming this is not by choice.
81 if is_py2:
/dports/devel/py-pyinstaller/PyInstaller-3.5/tests/functional/
H A Dtest_path_encodings.py17 from PyInstaller.compat import is_py2
43 if is_py2:
64 if is_py2:
87 if is_py2:
110 if is_py2:
123 if is_py2:
134 @pytest.mark.xfail(is_py2, reason="Python 2's subprocess.Popen calls CreateProcessA "
170 @pytest.mark.skipif(is_py2, reason="Python 3 only.")
/dports/devel/arduino-core/Arduino-b439a77/arduino-core/src/processing/app/i18n/python/requests/
H A Dcompat.py19 is_py2 = (_ver[0] == 2) variable
40 is_py27 = (is_py2 and _ver[1] == 7)
43 is_py26 = (is_py2 and _ver[1] == 6)
46 is_py25 = (is_py2 and _ver[1] == 5)
49 is_py24 = (is_py2 and _ver[1] == 4) # I'm assuming this is not by choice.
85 if is_py2:
/dports/devel/py-pyinstaller/PyInstaller-3.5/bootloader/src/
H A Dpyi_pythonlib.c60 is_py2 = (pyvers / 10) == 2; in pyi_pylib_load()
200 if (is_py2) { in pyi_pylib_set_runtime_opts()
314 if (is_py2) { in pyi_pylib_set_sys_argv()
411 if (is_py2) { in pyi_pylib_start_python()
438 if (is_py2) { in pyi_pylib_start_python()
462 if (is_py2) { in pyi_pylib_start_python()
479 if (!is_py2) { in pyi_pylib_start_python()
533 if (is_py2) { in pyi_pylib_start_python()
580 if (is_py2) { in pyi_pylib_import_modules()
637 if (is_py2) { in pyi_pylib_import_modules()
[all …]
/dports/devel/py-pyinstaller/PyInstaller-3.5/PyInstaller/
H A Dcompat.py28 is_py2 = sys.version_info[0] == 2 variable
109 text_type = unicode if is_py2 else str
111 binary_type = str if is_py2 else bytes
138 if is_py2:
144 if is_py2:
158 if is_py2:
165 if is_py2:
237 if is_py2:
664 if is_win and is_py2:
787 if is_py2:
/dports/devel/pydbus-common/dbus-python-1.2.18/dbus/
H A D__init__.py65 from dbus._compat import is_py2
66 if is_py2:
94 if is_py2:
H A Dbus.py44 from dbus._compat import is_py2
84 if is_py2:
331 if is_py2:
344 if is_py2:
358 if is_py2:
H A Dtypes.py13 from dbus._compat import is_py2
14 if is_py2:
H A Dconnection.py40 from dbus._compat import is_py2, is_py3
62 if is_py2:
94 if is_py2:
192 if is_py2:
213 utf8_strings = (is_py2 and self._utf8_strings)
216 if is_py2:
575 if is_py2:
632 if is_py2:
/dports/devel/py-dbus/dbus-python-1.2.18/dbus/
H A D__init__.py65 from dbus._compat import is_py2
66 if is_py2:
94 if is_py2:
H A Dbus.py44 from dbus._compat import is_py2
84 if is_py2:
331 if is_py2:
344 if is_py2:
358 if is_py2:
H A Dtypes.py13 from dbus._compat import is_py2
14 if is_py2:
/dports/devel/pydbus-common/dbus-python-1.2.18/test/
H A Dtest-p2p.py40 from dbus._compat import is_py2
66 if is_py2:
72 if is_py2:
116 if is_py2:
/dports/devel/py-dbus/dbus-python-1.2.18/test/
H A Dtest-p2p.py40 from dbus._compat import is_py2
66 if is_py2:
72 if is_py2:
116 if is_py2:
/dports/devel/py-pyinstaller/PyInstaller-3.5/PyInstaller/hooks/
H A Dhook-pydoc.py19 from PyInstaller.compat import is_py2, modname_tkinter
23 if is_py2:
H A Dhook-zmq.py16 from PyInstaller.compat import is_py2, is_win
24 if is_py2:
H A Dhook-botocore.py22 from PyInstaller.compat import is_py2
26 if is_py2:
H A Dhook-importlib_resources.py14 from PyInstaller.compat import is_py2, is_py3, is_py37
33 elif is_py2:
/dports/multimedia/py-enzyme/enzyme-0.4.1/enzyme/
H A Dcompat.py7 is_py2 = _ver[0] == 2 variable
10 if is_py2:
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/enzyme/
H A Dcompat.py7 is_py2 = _ver[0] == 2 variable
10 if is_py2:
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/pysrt/
H A Dcompat.py8 is_py2 = (_ver[0] == 2) variable
15 if is_py2:
/dports/textproc/py-pysrt/pysrt-1.1.1/pysrt/
H A Dcompat.py8 is_py2 = (_ver[0] == 2) variable
15 if is_py2:
/dports/devel/py-pyinstaller/PyInstaller-3.5/tests/unit/
H A Dtest_compat.py10 from PyInstaller.compat import is_py2
18 @skipif(is_py2, reason="In Python 2, subprocess' stdout is not decoded")
/dports/security/py-authlib/Authlib-0.15.5/authlib/common/
H A Dencoding.py6 is_py2 = sys.version_info[0] == 2 variable
8 if is_py2:
41 if is_py2:

12345678910