forked from budgetdevv/PythonNETExtensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyVer3_11.cs
More file actions
30 lines (25 loc) · 1.29 KB
/
PyVer3_11.cs
File metadata and controls
30 lines (25 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using PythonNETExtensions.Config;
namespace PythonNETExtensions.Versions
{
public readonly struct PyVer3_11<PyConfigT>: IPythonVersion<PyVer3_11<PyConfigT>, PyConfigT>
where PyConfigT : struct, IPythonConfig<PyConfigT>
{
public static string VersionString => "3.11";
private static readonly string MAC_UNIVERSAL_2DOWNLOAD_URL = $"https://github.com/budgetdevv/PythonNETExtensions/raw/main/Bundles/{VersionString}/OSX/PythonBundle.zip";
public static PlatformEmbeddedPython OSXEmbeddedPython => new PlatformEmbeddedPython
(
amd64DownloadUrl: MAC_UNIVERSAL_2DOWNLOAD_URL,
arm64DownloadUrl: MAC_UNIVERSAL_2DOWNLOAD_URL
);
public static PlatformEmbeddedPython WindowsEmbeddedPython => new PlatformEmbeddedPython
(
amd64DownloadUrl: $"https://github.com/budgetdevv/PythonNETExtensions/raw/main/Bundles/{VersionString}/Windows/AMD64/PythonBundle.zip",
arm64DownloadUrl: null
);
public static PlatformEmbeddedPython LinuxEmbeddedPython => new PlatformEmbeddedPython
(
amd64DownloadUrl: null,
arm64DownloadUrl: $"https://github.com/budgetdevv/PythonNETExtensions/raw/main/Bundles/{VersionString}/Linux/ARM64/PythonBundle.zip"
);
}
}