Home
last modified time | relevance | path

Searched +full:shebang +full:- +full:command (Results 1 – 25 of 133) sorted by relevance

123456

/aosp_15_r20/external/python/cpython3/PC/
Dlauncher2.c5 * runtime to be launched. It also enables auto-install of versions when they
62 buffer[r--] = L'\0'; in debug()
99 _snwprintf_s(&message[len], MSGSIZE - len, _TRUNCATE, L": %s", in winerror()
149 // We should always be a 32-bit executable, so if running in _getNativeMachine()
150 // under emulation, it must be a 64-bit host. in _getNativeMachine()
182 /* only looking for non-empty, which means at least one character in isEnvVarSet()
203 return (!y || !yLen) ? 0 : -1; in _compare()
213 return -1; in _compare()
220 return -1; in _compare()
230 return (!y || !yLen) ? 0 : -1; in _compareArgument()
[all …]
Dlauncher.c2 * Copyright (C) 2011-2013 Vinay Sajip.
38 * which builds the setuptools-style launcher.
45 * one-level-higher pyvenv.cfg, and uses its "home" property to locate and
53 /* Just for now - static definition */
101 _snwprintf_s(&message[len], MSGSIZE - len, _TRUNCATE, L": %ls", in error()
121 /* This is not thread-safe, just like getenv */ in get_env()
224 if (_wcsicmp(path, ip->executable) == 0) { in find_existing_python()
240 if (bits == ip->bits && _wcsicmp(version, ip->version) == 0) { in find_existing_python2()
283 wcsncpy_s(ip->version, MAX_VERSION_SIZE, ip_version, in _locate_pythons_for_key()
284 MAX_VERSION_SIZE-1); in _locate_pythons_for_key()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools/_distutils/command/
Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
9 from distutils.core import Command
15 shebang_pattern = re.compile('^#!.*python[0-9.]*([ \t].*)?$')
24 class build_scripts(Command):
29 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
85 log.debug("not copying %s (up-to-date)", script)
88 # Always open the file, but ignore failures in dry-run mode
106 log.info("copying and adjusting %s -> %s", script, self.build_dir)
120 shebang = "#!" + executable + post_interp + "\n"
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/setuptools/_distutils/command/
Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
9 from distutils.core import Command
15 shebang_pattern = re.compile('^#!.*python[0-9.]*([ \t].*)?$')
24 class build_scripts(Command):
29 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
85 log.debug("not copying %s (up-to-date)", script)
88 # Always open the file, but ignore failures in dry-run mode
106 log.info("copying and adjusting %s -> %s", script, self.build_dir)
120 shebang = "#!" + executable + post_interp + "\n"
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools/_distutils/command/
Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
9 from distutils.core import Command
15 shebang_pattern = re.compile('^#!.*python[0-9.]*([ \t].*)?$')
24 class build_scripts(Command):
29 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
85 log.debug("not copying %s (up-to-date)", script)
88 # Always open the file, but ignore failures in dry-run mode
106 log.info("copying and adjusting %s -> %s", script, self.build_dir)
120 shebang = "#!" + executable + post_interp + "\n"
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/setuptools/_distutils/command/
Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
9 from distutils.core import Command
15 shebang_pattern = re.compile('^#!.*python[0-9.]*([ \t].*)?$')
24 class build_scripts(Command):
29 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
85 log.debug("not copying %s (up-to-date)", script)
88 # Always open the file, but ignore failures in dry-run mode
106 log.info("copying and adjusting %s -> %s", script, self.build_dir)
120 shebang = "#!" + executable + post_interp + "\n"
[all …]
/aosp_15_r20/external/python/setuptools/setuptools/_distutils/command/
Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
8 from distutils.core import Command
15 first_line_re = re.compile(b'^#!.*python[0-9.]*([ \t].*)?$')
17 class build_scripts(Command):
22 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
69 log.debug("not copying %s (up-to-date)", script)
72 # Always open the file, but ignore failures in dry-run mode --
95 log.info("copying and adjusting %s -> %s", script,
107 shebang = b"#!" + executable + post_interp + b"\n"
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/distutils/command/
Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
8 from distutils.core import Command
15 first_line_re = re.compile(b'^#!.*python[0-9.]*([ \t].*)?$')
17 class build_scripts(Command):
22 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
69 log.debug("not copying %s (up-to-date)", script)
72 # Always open the file, but ignore failures in dry-run mode --
95 log.info("copying and adjusting %s -> %s", script,
107 shebang = b"#!" + executable + post_interp + b"\n"
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/distutils/command/
Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
8 from distutils.core import Command
15 first_line_re = re.compile(b'^#!.*python[0-9.]*([ \t].*)?$')
17 class build_scripts(Command):
22 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
69 log.debug("not copying %s (up-to-date)", script)
72 # Always open the file, but ignore failures in dry-run mode --
95 log.info("copying and adjusting %s -> %s", script,
107 shebang = b"#!" + executable + post_interp + b"\n"
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/distutils/command/
Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
8 from distutils.core import Command
15 first_line_re = re.compile(b'^#!.*python[0-9.]*([ \t].*)?$')
17 class build_scripts(Command):
22 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
69 log.debug("not copying %s (up-to-date)", script)
72 # Always open the file, but ignore failures in dry-run mode --
95 log.info("copying and adjusting %s -> %s", script,
107 shebang = b"#!" + executable + post_interp + b"\n"
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/distutils/command/
Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
8 from distutils.core import Command
15 first_line_re = re.compile(b'^#!.*python[0-9.]*([ \t].*)?$')
17 class build_scripts(Command):
22 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
69 log.debug("not copying %s (up-to-date)", script)
72 # Always open the file, but ignore failures in dry-run mode --
95 log.info("copying and adjusting %s -> %s", script,
107 shebang = b"#!" + executable + post_interp + b"\n"
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/distutils/command/
H A Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
8 from distutils.core import Command
15 first_line_re = re.compile(b'^#!.*python[0-9.]*([ \t].*)?$')
17 class build_scripts(Command):
22 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
69 log.debug("not copying %s (up-to-date)", script)
72 # Always open the file, but ignore failures in dry-run mode --
95 log.info("copying and adjusting %s -> %s", script,
107 shebang = b"#!" + executable + post_interp + b"\n"
[all …]
/aosp_15_r20/external/python/cpython3/Lib/distutils/command/
Dbuild_scripts.py1 """distutils.command.build_scripts
3 Implements the Distutils 'build_scripts' command."""
8 from distutils.core import Command
15 first_line_re = re.compile(b'^#!.*python[0-9.]*([ \t].*)?$')
17 class build_scripts(Command):
22 ('build-dir=', 'd', "directory to \"build\" (copy) to"),
69 log.debug("not copying %s (up-to-date)", script)
72 # Always open the file, but ignore failures in dry-run mode --
95 log.info("copying and adjusting %s -> %s", script,
107 shebang = b"#!" + executable + post_interp + b"\n"
[all …]
/aosp_15_r20/external/python/cpython3/Doc/library/
Dzipapp.rst1 :mod:`zipapp` --- Manage executable Python zip archives
14 --------------
18 <using-on-interface-options>`. The module provides both a
19 :ref:`zipapp-command-line-interface` and a :ref:`zipapp-python-api`.
23 -------------
25 The following example shows how the :ref:`zipapp-command-line-interface`
30 .. code-block:: shell-session
32 $ python -m zipapp myapp -m "myapp:main"
37 .. _zipapp-command-line-interface:
39 Command-Line Interface
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_zipapp.py156 # once for each file written :-(
181 # Test that no shebang line is written to the target by default.
191 # Test that a shebang line with a custom interpreter is written
212 # Test that we can read the shebang line correctly.
221 # Test that reading the shebang line of a file without one returns None.
230 # Test that we can change the shebang of a file.
241 # Test that we can change the shebang of a file, writing the result to a
278 # Test that we can remove the shebang from a file.
302 # (Unix only) tests that archives with shebang lines are made executable
307 # Test that an archive with a shebang line is made executable.
[all …]
/aosp_15_r20/external/python/cpython3/Doc/using/
Dwindows.rst3 .. _using-on-windows:
12 This document aims to give an overview of Windows-specific behaviour you should
19 are primarily intended to add a per-user installation of Python, with the
22 available for application-local distributions.
32 :ref:`windows-full` contains all components and is the best option for
35 :ref:`windows-store` is a simple installation of Python that is suitable for
41 :ref:`windows-nuget` are lightweight installations intended for continuous
45 :ref:`windows-embeddable` is a minimal package of Python suitable for
49 .. _windows-full:
55 ------------------
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/
Dzipapp.py12 # The __main__.py used if the users specifies "-m module:fn".
13 # Note that this will always be written as UTF-8 (module and
14 # function names can be non-ASCII in Python 3).
15 # We add a coding cookie even though UTF-8 is the default in Python 3
18 # -*- coding: utf-8 -*-
24 # The Windows launcher defaults to UTF-8 when parsing shebang lines if the
25 # file has no BOM. So use UTF-8 on Windows.
28 shebang_encoding = 'utf-8'
47 """Write a shebang line."""
49 shebang = b'#!' + interpreter.encode(shebang_encoding) + b'\n'
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/
H A Dzipapp.py12 # The __main__.py used if the users specifies "-m module:fn".
13 # Note that this will always be written as UTF-8 (module and
14 # function names can be non-ASCII in Python 3).
15 # We add a coding cookie even though UTF-8 is the default in Python 3
18 # -*- coding: utf-8 -*-
24 # The Windows launcher defaults to UTF-8 when parsing shebang lines if the
25 # file has no BOM. So use UTF-8 on Windows.
28 shebang_encoding = 'utf-8'
47 """Write a shebang line."""
49 shebang = b'#!' + interpreter.encode(shebang_encoding) + b'\n'
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/
Dzipapp.py12 # The __main__.py used if the users specifies "-m module:fn".
13 # Note that this will always be written as UTF-8 (module and
14 # function names can be non-ASCII in Python 3).
15 # We add a coding cookie even though UTF-8 is the default in Python 3
18 # -*- coding: utf-8 -*-
24 # The Windows launcher defaults to UTF-8 when parsing shebang lines if the
25 # file has no BOM. So use UTF-8 on Windows.
28 shebang_encoding = 'utf-8'
47 """Write a shebang line."""
49 shebang = b'#!' + interpreter.encode(shebang_encoding) + b'\n'
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/
Dzipapp.py12 # The __main__.py used if the users specifies "-m module:fn".
13 # Note that this will always be written as UTF-8 (module and
14 # function names can be non-ASCII in Python 3).
15 # We add a coding cookie even though UTF-8 is the default in Python 3
18 # -*- coding: utf-8 -*-
24 # The Windows launcher defaults to UTF-8 when parsing shebang lines if the
25 # file has no BOM. So use UTF-8 on Windows.
28 shebang_encoding = 'utf-8'
47 """Write a shebang line."""
49 shebang = b'#!' + interpreter.encode(shebang_encoding) + b'\n'
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/
Dzipapp.py12 # The __main__.py used if the users specifies "-m module:fn".
13 # Note that this will always be written as UTF-8 (module and
14 # function names can be non-ASCII in Python 3).
15 # We add a coding cookie even though UTF-8 is the default in Python 3
18 # -*- coding: utf-8 -*-
24 # The Windows launcher defaults to UTF-8 when parsing shebang lines if the
25 # file has no BOM. So use UTF-8 on Windows.
28 shebang_encoding = 'utf-8'
47 """Write a shebang line."""
49 shebang = b'#!' + interpreter.encode(shebang_encoding) + b'\n'
[all …]
/aosp_15_r20/external/python/cpython3/Lib/
Dzipapp.py12 # The __main__.py used if the users specifies "-m module:fn".
13 # Note that this will always be written as UTF-8 (module and
14 # function names can be non-ASCII in Python 3).
15 # We add a coding cookie even though UTF-8 is the default in Python 3
18 # -*- coding: utf-8 -*-
24 # The Windows launcher defaults to UTF-8 when parsing shebang lines if the
25 # file has no BOM. So use UTF-8 on Windows.
28 shebang_encoding = 'utf-8'
47 """Write a shebang line."""
49 shebang = b'#!' + interpreter.encode(shebang_encoding) + b'\n'
[all …]
/aosp_15_r20/external/bazelbuild-rules_python/python/private/pypi/
H A Dwhl_library.bzl7 # http://www.apache.org/licenses/LICENSE-2.0
38 otherwise. See https://github.com/indygreg/python-build-standalone/issues/103
48 arguments = [repo_utils.which_checked(rctx, "xcode-select"), "--print-path"],
57 # path than xcode installed command line tools.
60 "-isysroot {}/SDKs/MacOSX.sdk".format(xcode_root),
67 otherwise. See https://github.com/indygreg/python-build-standalone/issues/103
83 "-c",
93 return ["-isystem {}".format(include_path)]
99 so they can be passed on the command line to subprocesses.
109 args.append("--isolated")
[all …]
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/
Dosconfig_v1beta.projects.patchJobs.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
/aosp_15_r20/external/bazelbuild-rules_python/python/private/common/
H A Dproviders.bzl7 # http://www.apache.org/licenses/LICENSE-2.0
28 # changes the return value from a two-tuple to a single value, which then
142 A Python runtime describes either a *platform runtime* or an *in-build runtime*.
143 A platform runtime accesses a system-installed interpreter at a known path,
144 whereas an in-build runtime points to a `File` that acts as the interpreter. In
146 that is capable of running a Python script passed on the command line, following
159 * Setting necessary environment variables, command line flags, or other
161 * Invoking the appropriate entry point. This is usually a second-stage bootstrap
164 The {obj}`--bootstrap_impl` flag affects how this stage 1 bootstrap
167 * `--bootstrap_impl=system_python` substitutions: `%is_zipfile%`, `%python_binary%`,
[all …]

123456