Home
last modified time | relevance | path

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

123

/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 …]
/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
/external/python/cpython3/Lib/venv/scripts/posix/
Dactivate.fish11 set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
38 # Unset PYTHONHOME if set.
39 if set -q PYTHONHOME
40 set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
41 set -e PYTHONHOME
/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)
/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 …]
/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
/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 …]
/external/python/cpython3/.azure-pipelines/windows-release/
Dstage-layout-nuget.yml17 PYTHONHOME: $(Build.SourcesDirectory)
21 PYTHONHOME: $(Build.SourcesDirectory)
26 PYTHONHOME: $(Build.SourcesDirectory)
Dstage-layout-embed.yml17 PYTHONHOME: $(Build.SourcesDirectory)
21 PYTHONHOME: $(Build.SourcesDirectory)
26 PYTHONHOME: $(Build.SourcesDirectory)
Dstage-layout-full.yml17 PYTHONHOME: $(Build.SourcesDirectory)
22 PYTHONHOME: $(Build.SourcesDirectory)
28 PYTHONHOME: $(Build.SourcesDirectory)
Dstage-layout-msix.yml16 # PYTHONHOME: $(Build.SourcesDirectory)
21 PYTHONHOME: $(Build.SourcesDirectory)
27 PYTHONHOME: $(Build.SourcesDirectory)
Dmsi-steps.yml93 PYTHONHOME: $(Build.SourcesDirectory)
106 PYTHONHOME: $(Build.SourcesDirectory)
/external/python/cpython3/Lib/test/
Dtest_script_helper.py88 os.environ.pop('PYTHONHOME', None)
97 os.environ.pop('PYTHONHOME', None)
106 os.environ.pop('PYTHONHOME', None)
118 os.environ['PYTHONHOME'] = 'MockedHome'
/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" \\'
/external/python/cpython2/Lib/plat-os2emx/
Dgrp.py33 - ${PYTHONHOME}/Etc/group (or %PYTHONHOME%/Etc/group)
65 if os.environ.has_key('PYTHONHOME'):
66 __group_path.append('%s/Etc/group' % os.environ['PYTHONHOME'])
Dpwd.py36 - ${PYTHONHOME}/Etc/passwd (or %PYTHONHOME%/Etc/passwd)
68 if os.environ.has_key('PYTHONHOME'):
69 __passwd_path.append('%s/Etc/passwd' % os.environ['PYTHONHOME'])
/external/python/cpython3/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" \\')
/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).
/external/python/cpython2/Demo/tix/
DINSTALL.txt22 of $PYTHONHOME, which contains the directories tcl8.3 and tk8.3,
24 <tix>/library to $PYTHONHOME/lib/tix8.1, and copy the dynamic library
26 libraries ($PYTHONHOME/Dlls or lib/python-2.1/lib-dynload). In this
/external/python/cpython3/Misc/
Dpython.man143 Ignore environment variables like PYTHONPATH and PYTHONHOME that modify
401 .IP PYTHONHOME
406 \fI/usr/local\fP. When $PYTHONHOME is set to a single directory, its value
408 for these, set $PYTHONHOME to ${prefix}:${exec_prefix}.
415 begins with ${prefix}/lib/python<version> (see PYTHONHOME above).
/external/python/cpython2/Launcher/
Dlauncher_main.cpp35 // Ignore PYTHONPATH and PYTHONHOME from the environment. Unless we're not in main()
49 // Set the equivalent of PYTHONHOME internally. in main()
/external/python/cpython2/Modules/
Dgetpath.c62 * Step 2. See if the $PYTHONHOME environment variable points to the
63 * installed location of the Python libraries. If $PYTHONHOME is set, then
64 * it points to prefix and exec_prefix. $PYTHONHOME can be a single
251 /* If PYTHONHOME is set, we believe it unconditionally */ in search_for_prefix()
309 /* If PYTHONHOME is set, we believe it unconditionally */ in search_for_exec_prefix()
544 "Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]\n"); in calculate_path()

123