| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -53,6 +53,8 @@ steps: | |||
| 53 | 53 | $interpreter = if ($IsWindows) { "python.exe" } else { "python" } | |
| 54 | 54 | $interpreter = Join-Path "$(GetPython.pythonLocation)" $interpreter | |
| 55 | 55 | ||
| 56 | + Write-Host "$interpreter" | ||
| 57 | + | ||
| 56 | 58 | Get-ChildItem -Recurse "$(GetPython.pythonLocation)" | |
| 57 | 59 | ||
| 58 | 60 | $pyEnvs = (dotnet run --project app/WhichPython.App.csproj interpreter "$interpreter") | Out-String | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -399,6 +399,6 @@ static bool IsSubDirectoryOrSame(DirectoryInfo parent, DirectoryInfo child) { | |||
| 399 | 399 | const string PrintSysPathScript = @"import sys; print('\n'.join(sys.path))"; | |
| 400 | 400 | ||
| 401 | 401 | const string LinuxGetLibPathsScript = "from distutils import sysconfig; import os.path as op; v = sysconfig.get_config_vars(); fpaths = [op.join(v[pv], v['LDLIBRARY']) for pv in ('LIBDIR', 'LIBPL')]; print(list(filter(op.exists, fpaths))[0])"; | |
| 402 | - const string MacGetLibPathsScript = "from distutils import sysconfig; import os.path as op; v = sysconfig.get_config_vars(); fpaths = [op.join(v[pv], v['LIBRARY']) for pv in ('LIBDIR', 'LIBPL')]; print(list(filter(op.exists, fpaths))[0])"; | ||
| 402 | + const string MacGetLibPathsScript = "from distutils import sysconfig; import os.path as op; v = sysconfig.get_config_vars(); fpaths = [op.join(v[pv], fname) for pv in ('LIBDIR', 'LIBPL') for fname in (op.splitext(v['LIBRARY'])[0] + '.dylib', v['LIBRARY'])]; print(list(filter(op.exists, fpaths))[0])"; | ||
| 403 | 403 | } | |
| 404 | 404 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments