relenv 0.20.3__py3-none-any.whl → 0.20.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- relenv/_scripts/install_vc_build.ps1 +113 -63
- relenv/build/__init__.py +2 -2
- relenv/build/darwin.py +2 -2
- relenv/build/linux.py +10 -10
- relenv/build/windows.py +45 -0
- relenv/common.py +3 -2
- relenv/fetch.py +2 -1
- {relenv-0.20.3.dist-info → relenv-0.20.5.dist-info}/METADATA +1 -1
- {relenv-0.20.3.dist-info → relenv-0.20.5.dist-info}/RECORD +14 -14
- {relenv-0.20.3.dist-info → relenv-0.20.5.dist-info}/WHEEL +0 -0
- {relenv-0.20.3.dist-info → relenv-0.20.5.dist-info}/entry_points.txt +0 -0
- {relenv-0.20.3.dist-info → relenv-0.20.5.dist-info}/licenses/LICENSE.md +0 -0
- {relenv-0.20.3.dist-info → relenv-0.20.5.dist-info}/licenses/NOTICE +0 -0
- {relenv-0.20.3.dist-info → relenv-0.20.5.dist-info}/top_level.txt +0 -0
|
@@ -1,22 +1,82 @@
|
|
|
1
|
-
# Copyright 2022 VMware, Inc.
|
|
2
|
-
# SPDX-License-Identifier: Apache-2
|
|
3
|
-
|
|
4
1
|
<#
|
|
5
|
-
Taken from: https://github.com/saltstack/salt-windows-nsis/blob/main/scripts/install_vs_buildtools.bat
|
|
6
|
-
|
|
7
2
|
.SYNOPSIS
|
|
8
3
|
Script that installs Visual Studio Build Tools
|
|
4
|
+
|
|
9
5
|
.DESCRIPTION
|
|
10
6
|
This script installs the Visual Studio Build Tools if they are not already
|
|
11
7
|
present on the system. Visual Studio Build Tools are the binaries and libraries
|
|
12
8
|
needed to build Python from source.
|
|
9
|
+
|
|
13
10
|
.EXAMPLE
|
|
14
11
|
install_vc_buildtools.ps1
|
|
12
|
+
|
|
15
13
|
#>
|
|
14
|
+
param(
|
|
15
|
+
[Parameter(Mandatory=$false)]
|
|
16
|
+
[Alias("c")]
|
|
17
|
+
# Don't prettify the output of the Write-Result
|
|
18
|
+
[Switch] $CICD
|
|
19
|
+
)
|
|
16
20
|
|
|
21
|
+
#-------------------------------------------------------------------------------
|
|
17
22
|
# Script Preferences
|
|
23
|
+
#-------------------------------------------------------------------------------
|
|
24
|
+
|
|
25
|
+
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12
|
|
18
26
|
$ProgressPreference = "SilentlyContinue"
|
|
19
27
|
$ErrorActionPreference = "Stop"
|
|
28
|
+
# https://stackoverflow.com/a/67201331/4581998
|
|
29
|
+
$env:PSModulePath = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine')
|
|
30
|
+
|
|
31
|
+
#-------------------------------------------------------------------------------
|
|
32
|
+
# Script Functions
|
|
33
|
+
#-------------------------------------------------------------------------------
|
|
34
|
+
|
|
35
|
+
function Write-Result($result, $ForegroundColor="Green") {
|
|
36
|
+
if ( $CICD ) {
|
|
37
|
+
Write-Host $result -ForegroundColor $ForegroundColor
|
|
38
|
+
} else {
|
|
39
|
+
$position = 80 - $result.Length - [System.Console]::CursorLeft
|
|
40
|
+
Write-Host -ForegroundColor $ForegroundColor ("{0,$position}$result" -f "")
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function Add-Certificate {
|
|
45
|
+
[CmdletBinding()]
|
|
46
|
+
param(
|
|
47
|
+
|
|
48
|
+
[Parameter(Mandatory=$true)]
|
|
49
|
+
# The path in the certstore (CERT:/LocalMachine/Root/<hash>)
|
|
50
|
+
[String] $Path,
|
|
51
|
+
|
|
52
|
+
[Parameter(Mandatory=$true)]
|
|
53
|
+
# The path to the cert file for importing
|
|
54
|
+
[String] $File,
|
|
55
|
+
|
|
56
|
+
[Parameter(Mandatory=$true)]
|
|
57
|
+
# The name of the cert file for importing
|
|
58
|
+
[String] $Name
|
|
59
|
+
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
# Validation
|
|
63
|
+
if ( ! (Test-Path -Path $File)) {
|
|
64
|
+
Write-Host "Invalid path to certificate file"
|
|
65
|
+
exit 1
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (! (Test-Path -Path $Path) ) {
|
|
69
|
+
|
|
70
|
+
Write-Host "Installing Certificate $Name`: " -NoNewLine
|
|
71
|
+
$output = Import-Certificate -FilePath $File -CertStoreLocation "Cert:\LocalMachine\Root"
|
|
72
|
+
if ( Test-Path -Path $Path ) {
|
|
73
|
+
Write-Result "Success"
|
|
74
|
+
} else {
|
|
75
|
+
Write-Result "Failed" -ForegroundColor Yellow
|
|
76
|
+
Write-Host $output
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
20
80
|
|
|
21
81
|
#-------------------------------------------------------------------------------
|
|
22
82
|
# Start the Script
|
|
@@ -32,31 +92,38 @@ Write-Host $("-" * 80)
|
|
|
32
92
|
|
|
33
93
|
# Dependency Variables
|
|
34
94
|
$VS_BLD_TOOLS = "https://aka.ms/vs/15/release/vs_buildtools.exe"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
$
|
|
95
|
+
try {
|
|
96
|
+
# If VS is installed, you will be able to get the WMI Object MSFT_VSInstance
|
|
97
|
+
$VS_INST_LOC = $(Get-CimInstance MSFT_VSInstance -Namespace root/cimv2/vs).InstallLocation
|
|
98
|
+
$MSBUILD_BIN = $(Get-ChildItem "$VS_INST_LOC\MSBuild\*\Bin\msbuild.exe").FullName
|
|
99
|
+
} catch {
|
|
100
|
+
# If VS is not installed, this is the fallback for this installation
|
|
101
|
+
$MSBUILD_BIN = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\msbuild.exe"
|
|
102
|
+
}
|
|
38
103
|
|
|
39
104
|
#-------------------------------------------------------------------------------
|
|
40
105
|
# Visual Studio
|
|
41
106
|
#-------------------------------------------------------------------------------
|
|
42
107
|
|
|
43
|
-
$install_build_tools = $false
|
|
44
108
|
Write-Host "Confirming Presence of Visual Studio Build Tools: " -NoNewline
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
109
|
+
# We're only gonna look for msbuild.exe
|
|
110
|
+
if ( Test-Path -Path $MSBUILD_BIN ) {
|
|
111
|
+
Write-Result "Success" -ForegroundColor Green
|
|
112
|
+
} else {
|
|
113
|
+
Write-Result "Missing" -ForegroundColor Yellow
|
|
50
114
|
|
|
51
|
-
|
|
52
|
-
|
|
115
|
+
try {
|
|
116
|
+
# If VS is installed, you will be able to get the WMI Object MSFT_VSInstance
|
|
117
|
+
Write-Host "Get VS Instance Information"
|
|
118
|
+
Get-CimInstance MSFT_VSInstance -Namespace root/cimv2/vs
|
|
119
|
+
} catch {}
|
|
53
120
|
|
|
54
121
|
Write-Host "Checking available disk space: " -NoNewLine
|
|
55
122
|
$available = (Get-PSDrive $env:SystemDrive.Trim(":")).Free
|
|
56
123
|
if ( $available -gt (1024 * 1024 * 1024 * 9.1) ) {
|
|
57
|
-
Write-
|
|
124
|
+
Write-Result "Success" -ForegroundColor Green
|
|
58
125
|
} else {
|
|
59
|
-
Write-
|
|
126
|
+
Write-Result "Failed" -ForegroundColor Red
|
|
60
127
|
Write-Host "Not enough disk space"
|
|
61
128
|
exit 1
|
|
62
129
|
}
|
|
@@ -64,9 +131,9 @@ if ( $install_build_tools ) {
|
|
|
64
131
|
Write-Host "Downloading Visual Studio 2017 build tools: " -NoNewline
|
|
65
132
|
Invoke-WebRequest -Uri "$VS_BLD_TOOLS" -OutFile "$env:TEMP\vs_buildtools.exe"
|
|
66
133
|
if ( Test-Path -Path "$env:TEMP\vs_buildtools.exe" ) {
|
|
67
|
-
Write-
|
|
134
|
+
Write-Result "Success" -ForegroundColor Green
|
|
68
135
|
} else {
|
|
69
|
-
Write-
|
|
136
|
+
Write-Result "Failed" -ForegroundColor Red
|
|
70
137
|
exit 1
|
|
71
138
|
}
|
|
72
139
|
|
|
@@ -80,71 +147,54 @@ if ( $install_build_tools ) {
|
|
|
80
147
|
"--add Microsoft.VisualStudio.Workload.MSBuildTools", `
|
|
81
148
|
"--add Microsoft.VisualStudio.Workload.VCTools", `
|
|
82
149
|
"--add Microsoft.VisualStudio.Component.Windows81SDK", `
|
|
83
|
-
"--add Microsoft.VisualStudio.Component.Windows10SDK.17763", `
|
|
84
150
|
"--add Microsoft.VisualStudio.Component.VC.140", `
|
|
85
|
-
"--add Microsoft.Component.VC.Runtime.UCRTSDK", `
|
|
86
151
|
"--lang en-US", `
|
|
87
152
|
"--includeRecommended", `
|
|
88
|
-
|
|
153
|
+
# "--quiet", `
|
|
89
154
|
"--wait" `
|
|
90
155
|
-Wait -WindowStyle Hidden
|
|
91
156
|
if ( Test-Path -Path "$env:TEMP\build_tools\vs_buildtools.exe" ) {
|
|
92
|
-
Write-
|
|
157
|
+
Write-Result "Success" -ForegroundColor Green
|
|
93
158
|
} else {
|
|
94
|
-
Write-
|
|
159
|
+
Write-Result "Failed" -ForegroundColor Red
|
|
95
160
|
exit 1
|
|
96
161
|
}
|
|
97
162
|
|
|
98
|
-
# Serial:
|
|
163
|
+
# Serial: 28cc3a25bfba44ac449a9b586b4339aa
|
|
99
164
|
# Hash: 3b1efd3a66ea28b16697394703a72ca340a05bd5
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"Root", `
|
|
105
|
-
"$($env:TEMP)\build_tools\certificates\manifestCounterSignRootCertificate.cer" `
|
|
106
|
-
-Wait -WindowStyle Hidden
|
|
107
|
-
if ( Test-Path -Path Cert:\LocalMachine\Root\3b1efd3a66ea28b16697394703a72ca340a05bd5 ) {
|
|
108
|
-
Write-Host "Success" -ForegroundColor Green
|
|
109
|
-
} else {
|
|
110
|
-
Write-Host "Failed" -ForegroundColor Yellow
|
|
111
|
-
}
|
|
112
|
-
}
|
|
165
|
+
$cert_name = "Sign Root Certificate"
|
|
166
|
+
$cert_path = "Cert:\LocalMachine\Root\3b1efd3a66ea28b16697394703a72ca340a05bd5"
|
|
167
|
+
$cert_file = "$env:TEMP\build_tools\certificates\manifestCounterSignRootCertificate.cer"
|
|
168
|
+
Add-Certificate -Name $cert_name -Path $cert_path -File $cert_file
|
|
113
169
|
|
|
114
170
|
# Serial: 3f8bc8b5fc9fb29643b569d66c42e144
|
|
115
171
|
# Hash: 8f43288ad272f3103b6fb1428485ea3014c0bcfe
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"Root", `
|
|
121
|
-
"$($env:TEMP)\build_tools\certificates\manifestRootCertificate.cer" `
|
|
122
|
-
-Wait -WindowStyle Hidden
|
|
123
|
-
if ( Test-Path -Path Cert:\LocalMachine\Root\8f43288ad272f3103b6fb1428485ea3014c0bcfe ) {
|
|
124
|
-
Write-Host "Success" -ForegroundColor Green
|
|
125
|
-
} else {
|
|
126
|
-
Write-Host "Failed" -ForegroundColor Yellow
|
|
127
|
-
}
|
|
128
|
-
}
|
|
172
|
+
$cert_name = "Root Certificate"
|
|
173
|
+
$cert_path = "Cert:\LocalMachine\Root\8f43288ad272f3103b6fb1428485ea3014c0bcfe"
|
|
174
|
+
$cert_file = "$env:TEMP\build_tools\certificates\manifestRootCertificate.cer"
|
|
175
|
+
Add-Certificate -Name $cert_name -Path $cert_path -File $cert_file
|
|
129
176
|
|
|
130
177
|
Write-Host "Installing Visual Studio 2017 build tools: " -NoNewline
|
|
131
|
-
Start-Process
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
178
|
+
$proc = Start-Process `
|
|
179
|
+
-FilePath "$env:TEMP\build_tools\vs_setup.exe" `
|
|
180
|
+
-ArgumentList "--wait", "--noweb", "--quiet" `
|
|
181
|
+
-PassThru -Wait `
|
|
182
|
+
-RedirectStandardOutput "$env:TEMP\stdout.txt"
|
|
183
|
+
if ( Test-Path -Path $MSBUILD_BIN ) {
|
|
184
|
+
Write-Result "Failed" -ForegroundColor Red
|
|
185
|
+
Write-Host "Missing: $_"
|
|
186
|
+
Write-Host "ExitCode: $($proc.ExitCode)"
|
|
187
|
+
Write-Host "STDOUT:"
|
|
188
|
+
Get-Content "$env:TEMP\stdout.txt"
|
|
189
|
+
exit 1
|
|
139
190
|
}
|
|
140
|
-
Write-
|
|
141
|
-
} else {
|
|
142
|
-
Write-Host "Success" -ForegroundColor Green
|
|
191
|
+
Write-Result "Success" -ForegroundColor Green
|
|
143
192
|
}
|
|
144
193
|
|
|
145
194
|
#-------------------------------------------------------------------------------
|
|
146
195
|
# Finished
|
|
147
196
|
#-------------------------------------------------------------------------------
|
|
197
|
+
|
|
148
198
|
Write-Host $("-" * 80)
|
|
149
199
|
Write-Host "Install Visual Studio Build Tools Completed" -ForegroundColor Cyan
|
|
150
200
|
Write-Host $("=" * 80)
|
relenv/build/__init__.py
CHANGED
|
@@ -13,7 +13,7 @@ from .common import builds, CHECK_VERSIONS_SUPPORT
|
|
|
13
13
|
|
|
14
14
|
from ..pyversions import python_versions, Version
|
|
15
15
|
|
|
16
|
-
from ..common import build_arch
|
|
16
|
+
from ..common import build_arch, DEFAULT_PYTHON
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
def platform_module():
|
|
@@ -58,7 +58,7 @@ def setup_parser(subparsers):
|
|
|
58
58
|
)
|
|
59
59
|
build_subparser.add_argument(
|
|
60
60
|
"--python",
|
|
61
|
-
default=
|
|
61
|
+
default=DEFAULT_PYTHON,
|
|
62
62
|
type=str,
|
|
63
63
|
help="The python version [default: %(default)s]",
|
|
64
64
|
)
|
relenv/build/darwin.py
CHANGED
|
@@ -99,8 +99,8 @@ build.add(
|
|
|
99
99
|
download={
|
|
100
100
|
"url": "https://sqlite.org/2025/sqlite-autoconf-{version}.tar.gz",
|
|
101
101
|
"fallback_url": "https://woz.io/relenv/dependencies/sqlite-autoconf-{version}.tar.gz",
|
|
102
|
-
"version": "
|
|
103
|
-
"checksum": "
|
|
102
|
+
"version": "3500400",
|
|
103
|
+
"checksum": "145048005c777796dd8494aa1cfed304e8c34283",
|
|
104
104
|
},
|
|
105
105
|
)
|
|
106
106
|
|
relenv/build/linux.py
CHANGED
|
@@ -500,8 +500,8 @@ build.add(
|
|
|
500
500
|
build_func=build_sqlite,
|
|
501
501
|
download={
|
|
502
502
|
"url": "https://sqlite.org/2025/sqlite-autoconf-{version}.tar.gz",
|
|
503
|
-
"version": "
|
|
504
|
-
"checksum": "
|
|
503
|
+
"version": "3500400",
|
|
504
|
+
"checksum": "145048005c777796dd8494aa1cfed304e8c34283",
|
|
505
505
|
"checkfunc": sqlite_version,
|
|
506
506
|
"checkurl": "https://sqlite.org/",
|
|
507
507
|
},
|
|
@@ -523,8 +523,8 @@ build.add(
|
|
|
523
523
|
build_func=build_gdbm,
|
|
524
524
|
download={
|
|
525
525
|
"url": "https://ftp.gnu.org/gnu/gdbm/gdbm-{version}.tar.gz",
|
|
526
|
-
"version": "1.
|
|
527
|
-
"checksum": "
|
|
526
|
+
"version": "1.26",
|
|
527
|
+
"checksum": "6cee3657de948e691e8df26509157be950cef4d4",
|
|
528
528
|
"checkfunc": tarball_version,
|
|
529
529
|
},
|
|
530
530
|
)
|
|
@@ -548,8 +548,8 @@ build.add(
|
|
|
548
548
|
build_libffi,
|
|
549
549
|
download={
|
|
550
550
|
"url": "https://github.com/libffi/libffi/releases/download/v{version}/libffi-{version}.tar.gz",
|
|
551
|
-
"version": "3.5.
|
|
552
|
-
"checksum": "
|
|
551
|
+
"version": "3.5.2",
|
|
552
|
+
"checksum": "2bd35b135b0eeb5c631e02422c9dbe786ddb626a",
|
|
553
553
|
"checkfunc": github_version,
|
|
554
554
|
"checkurl": "https://github.com/libffi/libffi/releases/",
|
|
555
555
|
},
|
|
@@ -582,8 +582,8 @@ build.add(
|
|
|
582
582
|
wait_on=["openssl"],
|
|
583
583
|
download={
|
|
584
584
|
"url": "https://kerberos.org/dist/krb5/{version}/krb5-{version}.tar.gz",
|
|
585
|
-
"version": "1.
|
|
586
|
-
"checksum": "
|
|
585
|
+
"version": "1.22",
|
|
586
|
+
"checksum": "3ad930ab036a8dc3678356fbb9de9246567e7984",
|
|
587
587
|
"checkfunc": krb_version,
|
|
588
588
|
"checkurl": "https://kerberos.org/dist/krb5/",
|
|
589
589
|
},
|
|
@@ -595,8 +595,8 @@ build.add(
|
|
|
595
595
|
wait_on=["ncurses"],
|
|
596
596
|
download={
|
|
597
597
|
"url": "https://ftp.gnu.org/gnu/readline/readline-{version}.tar.gz",
|
|
598
|
-
"version": "8.
|
|
599
|
-
"checksum": "
|
|
598
|
+
"version": "8.3",
|
|
599
|
+
"checksum": "2c05ae9350b695f69d70b47f17f092611de2081f",
|
|
600
600
|
"checkfunc": tarball_version,
|
|
601
601
|
},
|
|
602
602
|
)
|
relenv/build/windows.py
CHANGED
|
@@ -36,6 +36,44 @@ def populate_env(env, dirs):
|
|
|
36
36
|
env["MSBUILDDISABLENODEREUSE"] = "1"
|
|
37
37
|
|
|
38
38
|
|
|
39
|
+
def patch_file(path, old, new):
|
|
40
|
+
"""
|
|
41
|
+
Search a file line by line for a string to replace.
|
|
42
|
+
|
|
43
|
+
:param path: Location of the file to search
|
|
44
|
+
:type path: str
|
|
45
|
+
:param old: The value that will be replaced
|
|
46
|
+
:type path: str
|
|
47
|
+
:param new: The value that will replace the 'old' value.
|
|
48
|
+
:type path: str
|
|
49
|
+
"""
|
|
50
|
+
import re
|
|
51
|
+
|
|
52
|
+
with open(path, "r") as fp:
|
|
53
|
+
content = fp.read()
|
|
54
|
+
new_content = ""
|
|
55
|
+
for line in content.splitlines():
|
|
56
|
+
re.sub(old, new, line)
|
|
57
|
+
new_content += line + os.linesep
|
|
58
|
+
with open(path, "w") as fp:
|
|
59
|
+
fp.write(new_content)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def override_dependency(source, old, new):
|
|
63
|
+
"""
|
|
64
|
+
Overwrite a dependency string for Windoes PCBuild.
|
|
65
|
+
|
|
66
|
+
:param source: Python's source directory
|
|
67
|
+
:type path: str
|
|
68
|
+
:param old: Regular expression to search for
|
|
69
|
+
:type path: str
|
|
70
|
+
:param new: Replacement text
|
|
71
|
+
:type path: str
|
|
72
|
+
"""
|
|
73
|
+
patch_file(source / "PCbuild" / "python.props", old, new)
|
|
74
|
+
patch_file(source / "PCbuild" / "get_externals.bat", old, new)
|
|
75
|
+
|
|
76
|
+
|
|
39
77
|
def build_python(env, dirs, logfp):
|
|
40
78
|
"""
|
|
41
79
|
Run the commands to build Python.
|
|
@@ -47,6 +85,13 @@ def build_python(env, dirs, logfp):
|
|
|
47
85
|
:param logfp: A handle for the log file
|
|
48
86
|
:type logfp: file
|
|
49
87
|
"""
|
|
88
|
+
# Override default versions
|
|
89
|
+
if env["RELENV_PY_MAJOR_VERSION"] in [
|
|
90
|
+
"3.10",
|
|
91
|
+
"3.11",
|
|
92
|
+
]:
|
|
93
|
+
override_dependency(dirs.source, r"sqlite-\d+.\d+.\d+.\d+", "sqlite-3.50.4.0")
|
|
94
|
+
|
|
50
95
|
arch_to_plat = {
|
|
51
96
|
"amd64": "x64",
|
|
52
97
|
"x86": "win32",
|
relenv/common.py
CHANGED
|
@@ -18,10 +18,12 @@ import threading
|
|
|
18
18
|
import time
|
|
19
19
|
|
|
20
20
|
# relenv package version
|
|
21
|
-
__version__ = "0.20.
|
|
21
|
+
__version__ = "0.20.5"
|
|
22
22
|
|
|
23
23
|
MODULE_DIR = pathlib.Path(__file__).resolve().parent
|
|
24
24
|
|
|
25
|
+
DEFAULT_PYTHON = "3.10.18"
|
|
26
|
+
|
|
25
27
|
LINUX = "linux"
|
|
26
28
|
WIN32 = "win32"
|
|
27
29
|
DARWIN = "darwin"
|
|
@@ -32,7 +34,6 @@ REQUEST_HEADERS = {"User-Agent": f"relenv {__version__}"}
|
|
|
32
34
|
|
|
33
35
|
CHECK_HOSTS = (
|
|
34
36
|
"packages.broadcom.com/artifactory/saltproject-generic",
|
|
35
|
-
"repo.saltproject.io",
|
|
36
37
|
"woz.io",
|
|
37
38
|
)
|
|
38
39
|
|
relenv/fetch.py
CHANGED
|
@@ -11,6 +11,7 @@ from .build import platform_module
|
|
|
11
11
|
from .common import (
|
|
12
12
|
CHECK_HOSTS,
|
|
13
13
|
DATA_DIR,
|
|
14
|
+
DEFAULT_PYTHON,
|
|
14
15
|
__version__,
|
|
15
16
|
build_arch,
|
|
16
17
|
check_url,
|
|
@@ -39,7 +40,7 @@ def setup_parser(subparsers):
|
|
|
39
40
|
)
|
|
40
41
|
subparser.add_argument(
|
|
41
42
|
"--python",
|
|
42
|
-
default=
|
|
43
|
+
default=DEFAULT_PYTHON,
|
|
43
44
|
type=str,
|
|
44
45
|
help="The python version [default: %(default)s]",
|
|
45
46
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: relenv
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.5
|
|
4
4
|
Project-URL: Source Code, https://github.com/saltstack/relative-environment-for-python
|
|
5
5
|
Project-URL: Documentation, https://relenv.readthedocs.io/en/latest/
|
|
6
6
|
Project-URL: Changelog, https://relenv.readthedocs.io/en/latest/changelog.html
|
|
@@ -2,22 +2,22 @@ relenv/__init__.py,sha256=NyZyghiBF5up_Uq6iJhmBr5HUKzfDtP-yZlU1OS6lQM,101
|
|
|
2
2
|
relenv/__main__.py,sha256=73VLBFMCXA8ccJiHYJ2KmctJRira-I_MnDKFIdv9JVI,1344
|
|
3
3
|
relenv/buildenv.py,sha256=TVpvA6qZ5zNca1YvEJwxpUps7gHtuETPxGIiA2zFAqI,3197
|
|
4
4
|
relenv/check.py,sha256=AIGxq_2ZBVVIBO8QiJZHknGILyjmxLgN00TTHlFjNsY,951
|
|
5
|
-
relenv/common.py,sha256=
|
|
5
|
+
relenv/common.py,sha256=7NLCG2jKbyMDrb4lI0nDh8wMOdImc6GTCQ3GwyGfLZc,19906
|
|
6
6
|
relenv/create.py,sha256=Uwoz7c07V0gZBRUM_gPPyENBdKlQqy32ABYiAM5A6XQ,3830
|
|
7
|
-
relenv/fetch.py,sha256=
|
|
7
|
+
relenv/fetch.py,sha256=KsAJKXgsR3eSB32cd0zlWSU4UIjRJOwhXzoDVmTQo6k,2299
|
|
8
8
|
relenv/manifest.py,sha256=jm3hySI4tWnvfGspf9Q416mugZJc-rlwvLIoaxxlFQc,840
|
|
9
9
|
relenv/pyversions.py,sha256=BIJeTb_iwvmuCOd7_MGZ5GgCcoF2AdwbeWsmbVRPdVo,11967
|
|
10
10
|
relenv/relocate.py,sha256=P5l4s5H4bR8cYm1PEtwp9yJyVfZ5km44jLe0LvL8CL0,11797
|
|
11
11
|
relenv/runtime.py,sha256=B_iszF5nwT0nRTASmwTyRjNT7G73XVsjE9aYO4wdciM,32261
|
|
12
12
|
relenv/toolchain.py,sha256=EpwfR8Xno2hpGFZ1r0dkCdIp6vARfcGD8X6cntjy3Bs,782
|
|
13
|
-
relenv/_scripts/install_vc_build.ps1,sha256=
|
|
14
|
-
relenv/build/__init__.py,sha256=
|
|
13
|
+
relenv/_scripts/install_vc_build.ps1,sha256=ir1bcz7rNOuFw4E5_AqBidiKS0SpPViXW7zaanRPCoM,7629
|
|
14
|
+
relenv/build/__init__.py,sha256=1Wa04LySd_dUDpwLDTUtm4nF6St7tf-HahRnGsSJhiA,6112
|
|
15
15
|
relenv/build/common.py,sha256=2wN0EiDQEDJO5o92xEIl8Kblsa_P_kxdrDqwp2hGHVk,48865
|
|
16
|
-
relenv/build/darwin.py,sha256=
|
|
17
|
-
relenv/build/linux.py,sha256=
|
|
18
|
-
relenv/build/windows.py,sha256=
|
|
19
|
-
relenv-0.20.
|
|
20
|
-
relenv-0.20.
|
|
16
|
+
relenv/build/darwin.py,sha256=VJaa9l9UMrqgzOh3jpadzsxGlmWq7JaXfTGn-5FjOHc,3501
|
|
17
|
+
relenv/build/linux.py,sha256=b3MWmY_VhTrGZksq_NS7lTg0Op9GvKy6bXA27txpgx4,18774
|
|
18
|
+
relenv/build/windows.py,sha256=XHE0sIBJPWaZr3VJU5Itn5NY2wiG7hbUmYcXfNq5ijM,6980
|
|
19
|
+
relenv-0.20.5.dist-info/licenses/LICENSE.md,sha256=T0SRk3vJM1YcAJjDz9vsX9gsCRatAVSBS7LeU0tklRM,9919
|
|
20
|
+
relenv-0.20.5.dist-info/licenses/NOTICE,sha256=Ns0AybPHBsgJKJJfjE6YnGgWEQQ9F7lQ6QNlYLlQT3E,548
|
|
21
21
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
22
|
tests/conftest.py,sha256=-_l6m7K-_IvPHtfyhN29chqk8wQKdB0DvdSCRXBh6TQ,2179
|
|
23
23
|
tests/test_build.py,sha256=i1gRIQzbkl-TDyXfJZzb3LFMSFWJkbOXFMv7laQpzoo,1331
|
|
@@ -28,8 +28,8 @@ tests/test_fips_photon.py,sha256=fx5EKzRgJ5HbVLZ49M1YN_x2FYSxHahzPwwMaTcVQsA,132
|
|
|
28
28
|
tests/test_relocate.py,sha256=_3Eb22qhzWvMnLIgPCqO-t_WZ-hklSMfy8GBTrdjCf0,8854
|
|
29
29
|
tests/test_runtime.py,sha256=n_gTiQqAgO_Vqk6Xf_2Hi3gIkBn_lhDqoovOiQ5fxG8,626
|
|
30
30
|
tests/test_verify_build.py,sha256=HhulWMq1gh01GMSgKxXZi9wb2E1mYjmn2KGOo84HCS8,49753
|
|
31
|
-
relenv-0.20.
|
|
32
|
-
relenv-0.20.
|
|
33
|
-
relenv-0.20.
|
|
34
|
-
relenv-0.20.
|
|
35
|
-
relenv-0.20.
|
|
31
|
+
relenv-0.20.5.dist-info/METADATA,sha256=tB3OnE-XXa5v5S1n3iUIKuTPNZTV-pIT2mE93K5mU0Y,1360
|
|
32
|
+
relenv-0.20.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
33
|
+
relenv-0.20.5.dist-info/entry_points.txt,sha256=dO66nWPPWl8ALWWnZFlHKAo6mfPFuQid7purYWL2ddc,48
|
|
34
|
+
relenv-0.20.5.dist-info/top_level.txt,sha256=P4Ro6JLZE53ZdsQ76o2OzBcpb0MaVJmbfr0HAn9WF8M,13
|
|
35
|
+
relenv-0.20.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|