-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from tonybaloney/locator_tests
Fixes to the Pip installer if more than one version of Python is installed
- Loading branch information
Showing
12 changed files
with
200 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
namespace CSnakes.Runtime.Locators; | ||
|
||
/// <summary> | ||
/// Metadata about the location of a Python installation. | ||
/// </summary> | ||
/// <param name="Folder">Path on disk where Python is to be loaded from.</param> | ||
/// <param name="Version">Version of Python being used from the location.</param> | ||
/// <param name="Debug">True if the Python installation is a debug build.</param> | ||
/// <param name="FreeThreaded" | ||
public sealed record PythonLocationMetadata(string Folder, Version Version, bool Debug = false, bool FreeThreaded = false); | ||
public sealed record PythonLocationMetadata( | ||
string Folder, | ||
Version Version, | ||
string LibPythonPath, | ||
string PythonPath, | ||
string PythonBinaryPath, | ||
bool Debug = false, | ||
bool FreeThreaded = false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.