Home
last modified time | relevance | path

Searched full:pythonhome (Results 1 – 25 of 110) sorted by relevance

12345

/aosp_15_r20/external/python/cpython3/PC/layout/support/
Dpython.props4 <PythonHome>$(MSBuildThisFileDirectory)\..\..\tools</PythonHome>
5 <PythonInclude>$(PythonHome)\include</PythonInclude>
6 <PythonLibs>$(PythonHome)\libs</PythonLibs>
32 <_PythonRuntimeExe Include="$(PythonHome)\python*.dll" />
33 <_PythonRuntimeExe Include="$(PythonHome)\vcruntime140.dll" />
34 …<_PythonRuntimeExe Include="$(PythonHome)\python*.exe" Condition="$(IncludePythonExe) == 'true'" />
38 <_PythonRuntimeDlls Include="$(PythonHome)\DLLs\*.pyd" />
39 <_PythonRuntimeDlls Include="$(PythonHome)\DLLs\*.dll" />
43 …<_PythonRuntimeLib Include="$(PythonHome)\Lib\**\*" Exclude="$(PythonHome)\Lib\**\*.pyc;$(PythonHo…
44 …<_PythonRuntimeLib Remove="$(PythonHome)\Lib\distutils\**\*" Condition="$(IncludeDistutils) != 'tr…
[all …]
Dprops.py32 …<PythonHome Condition="$(PythonHome) == ''">$([System.IO.Path]::GetFullPath("$(MSBuildThisFileDire…
33 <PythonInclude>$(PythonHome)\include</PythonInclude>
34 <PythonLibs>$(PythonHome)\libs</PythonLibs>
60 <_PythonRuntimeExe Include="$(PythonHome)\python*.dll" />
61 …<_PythonRuntimeExe Include="$(PythonHome)\python*.exe" Condition="$(IncludePythonExe) == 'true'" />
65 <_PythonRuntimeDlls Include="$(PythonHome)\DLLs\*.pyd" />
66 <_PythonRuntimeDlls Include="$(PythonHome)\DLLs\*.dll" />
70 …<_PythonRuntimeLib Include="$(PythonHome)\Lib\**\*" Exclude="$(PythonHome)\Lib\**\*.pyc;$(PythonHo…
71 …<_PythonRuntimeLib Remove="$(PythonHome)\Lib\distutils\**\*" Condition="$(IncludeDistutils) != 'tr…
72 …<_PythonRuntimeLib Remove="$(PythonHome)\Lib\lib2to3\**\*" Condition="$(IncludeLib2To3) != 'true'"…
[all …]
/aosp_15_r20/external/python/cpython2/PC/
Dgetpathp.c24 * We attempt to locate the "Python Home" - if the PYTHONHOME env var
468 char *pythonhome = Py_GetPythonHome(); in calculate_path() local
483 if (pythonhome == NULL || *pythonhome == '\0') { in calculate_path()
485 pythonhome = prefix; in calculate_path()
487 pythonhome = NULL; in calculate_path()
490 strncpy(prefix, pythonhome, MAXPATHLEN); in calculate_path()
513 skiphome = pythonhome==NULL ? 0 : 1; in calculate_path()
520 skipdefault = envpath!=NULL || pythonhome!=NULL || \ in calculate_path()
529 of each component replaced with pythonhome, if set; in calculate_path()
533 - If PYTHONHOME is set (in any way) item (3) is ignored. in calculate_path()
[all …]
/aosp_15_r20/external/python/cpython2/PC/os2emx/
Dgetpathp.c16 * We attempt to locate the "Python Home" - if the PYTHONHOME env var
264 char *pythonhome = Py_GetPythonHome(); in calculate_path() local
273 if (pythonhome == NULL || *pythonhome == '\0') { in calculate_path()
275 pythonhome = prefix; in calculate_path()
277 pythonhome = NULL; in calculate_path()
280 strncpy(prefix, pythonhome, MAXPATHLEN); in calculate_path()
302 * of each component replaced with pythonhome, if set; in calculate_path()
308 if (pythonhome != NULL) { in calculate_path()
315 bufsz *= strlen(pythonhome); in calculate_path()
351 if (pythonhome == NULL) { in calculate_path()
[all …]
DREADME.os2emx219 You should then set the PYTHONHOME and PYTHONPATH environment variables
222 PYTHONHOME should be set to Python's top level directory. PYTHONPATH
226 SET PYTHONHOME=F:/Python26
301 to the directory you wish to use for PYTHONHOME
304 If you want Python to find its library without the PYTHONHOME
309 to be installed in a directory other than the PYTHONHOME directory, set
314 installed (by default, the PYTHONHOME directory), set the value of the
452 $PYTHONHOME/Etc/passwd (%PYTHONHOME%/Etc/passwd)
455 $PYTHONHOME/Etc/group (%PYTHONHOME%/Etc/group)
/aosp_15_r20/external/python/cpython3/Lib/venv/scripts/common/
Dactivate12 PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
13 export PYTHONHOME
48 # unset PYTHONHOME if set
49 # this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
50 # could use `if (set -u; : $PYTHONHOME) ;` in bash
51 if [ -n "${PYTHONHOME:-}" ] ; then
52 _OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
53 unset PYTHONHOME
DActivate.ps182 # The prior PYTHONHOME: in global:deactivate()
84 Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME in global:deactivate()
239 # Clear PYTHONHOME
240 if (Test-Path -Path Env:PYTHONHOME) {
241 Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
242 Remove-Item -Path Env:PYTHONHOME
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/venv/scripts/common/
Dactivate12 PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
13 export PYTHONHOME
48 # unset PYTHONHOME if set
49 # this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
50 # could use `if (set -u; : $PYTHONHOME) ;` in bash
51 if [ -n "${PYTHONHOME:-}" ] ; then
52 _OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
53 unset PYTHONHOME
DActivate.ps182 # The prior PYTHONHOME: in global:deactivate()
84 Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME in global:deactivate()
239 # Clear PYTHONHOME
240 if (Test-Path -Path Env:PYTHONHOME) {
241 Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
242 Remove-Item -Path Env:PYTHONHOME
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/venv/scripts/common/
Dactivate12 PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
13 export PYTHONHOME
48 # unset PYTHONHOME if set
49 # this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
50 # could use `if (set -u; : $PYTHONHOME) ;` in bash
51 if [ -n "${PYTHONHOME:-}" ] ; then
52 _OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
53 unset PYTHONHOME
DActivate.ps182 # The prior PYTHONHOME: in global:deactivate()
84 Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME in global:deactivate()
239 # Clear PYTHONHOME
240 if (Test-Path -Path Env:PYTHONHOME) {
241 Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
242 Remove-Item -Path Env:PYTHONHOME
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/venv/scripts/common/
Dactivate12 PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
13 export PYTHONHOME
48 # unset PYTHONHOME if set
49 # this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
50 # could use `if (set -u; : $PYTHONHOME) ;` in bash
51 if [ -n "${PYTHONHOME:-}" ] ; then
52 _OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
53 unset PYTHONHOME
DActivate.ps182 # The prior PYTHONHOME: in global:deactivate()
84 Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME in global:deactivate()
239 # Clear PYTHONHOME
240 if (Test-Path -Path Env:PYTHONHOME) {
241 Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
242 Remove-Item -Path Env:PYTHONHOME
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/venv/scripts/common/
Dactivate12 PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
13 export PYTHONHOME
48 # unset PYTHONHOME if set
49 # this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
50 # could use `if (set -u; : $PYTHONHOME) ;` in bash
51 if [ -n "${PYTHONHOME:-}" ] ; then
52 _OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
53 unset PYTHONHOME
DActivate.ps182 # The prior PYTHONHOME: in global:deactivate()
84 Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME in global:deactivate()
239 # Clear PYTHONHOME
240 if (Test-Path -Path Env:PYTHONHOME) {
241 Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
242 Remove-Item -Path Env:PYTHONHOME
/aosp_15_r20/external/python/cpython2/PC/os2vacpp/
Dgetpathp.c302 char *pythonhome = Py_GetPythonHome(); in calculate_path() local
321 if (pythonhome == NULL || *pythonhome == '\0') { in calculate_path()
323 pythonhome = prefix; in calculate_path()
325 pythonhome = NULL; in calculate_path()
330 strcpy(prefix, pythonhome); in calculate_path()
333 /* e.g. PYTHONHOME=<prefix>:<exec_prefix> */ in calculate_path()
349 of each component replaced with pythonhome, if set; in calculate_path()
355 if (pythonhome != NULL) { in calculate_path()
362 bufsz *= strlen(pythonhome); in calculate_path()
409 if (pythonhome == NULL) { in calculate_path()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/venv/scripts/posix/
Dactivate.fish11 set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
41 # Unset PYTHONHOME if set.
42 if set -q PYTHONHOME
43 set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
44 set -e PYTHONHOME
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/venv/scripts/posix/
Dactivate.fish11 set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
41 # Unset PYTHONHOME if set.
42 if set -q PYTHONHOME
43 set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
44 set -e PYTHONHOME
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/venv/scripts/posix/
Dactivate.fish11 set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
41 # Unset PYTHONHOME if set.
42 if set -q PYTHONHOME
43 set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
44 set -e PYTHONHOME
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/venv/scripts/posix/
Dactivate.fish11 set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
41 # Unset PYTHONHOME if set.
42 if set -q PYTHONHOME
43 set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
44 set -e PYTHONHOME
/aosp_15_r20/external/python/cpython3/Lib/venv/scripts/posix/
Dactivate.fish11 set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
41 # Unset PYTHONHOME if set.
42 if set -q PYTHONHOME
43 set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
44 set -e PYTHONHOME
/aosp_15_r20/external/python/cpython3/Lib/venv/scripts/nt/
Dactivate.bat16 if defined _OLD_VIRTUAL_PYTHONHOME set PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME% variable
21 if defined PYTHONHOME set _OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%
22 set PYTHONHOME= variable
/aosp_15_r20/external/python/cpython2/Tools/freeze/
Dwinmakemakefile.py58 print 'pythonhome = %s' % vars['prefix']
76 print 'pythonlib = "$(pythonhome)/pcbuild/python%s$(debug_suffix).lib"' % version_suffix
111 print '"-I$(pythonhome)/Include" "-I$(pythonhome)/PC" \\'
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_script_helper.py89 os.environ.pop('PYTHONHOME', None)
98 os.environ.pop('PYTHONHOME', None)
107 os.environ.pop('PYTHONHOME', None)
119 os.environ['PYTHONHOME'] = 'MockedHome'
/aosp_15_r20/external/python/cpython2/Misc/
Dpython.man127 Ignore environment variables like PYTHONPATH and PYTHONHOME that modify
364 .IP PYTHONHOME
369 \fI/usr/local\fP. When $PYTHONHOME is set to a single directory, its value
371 for these, set $PYTHONHOME to ${prefix}:${exec_prefix}.
378 begins with ${prefix}/lib/python<version> (see PYTHONHOME above).

12345