Skip to content

Commit ab6a52f

Browse files
committed
wip
1 parent a2dcda0 commit ab6a52f

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

dev/_installers/build_installer.ps1

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,21 @@ try {
7272
# Sanity check that win32ctypes works in the venv
7373
& $VenvPy -c "import win32ctypes.pywin32; import win32ctypes.pywin32.win32api, win32ctypes.pywin32.pywintypes; print('win32ctypes OK')" | Out-Host
7474

75-
if (-not $NoClean) {
76-
Write-Section "Clean build/dist"
77-
Remove-Item -Recurse -Force (Join-Path $RepoRoot "build"), (Join-Path $RepoRoot "dist") -ErrorAction SilentlyContinue
78-
New-Item -ItemType Directory -Force $DistDir | Out-Null
79-
New-Item -ItemType Directory -Force $DiagDir | Out-Null
80-
}
75+
#if (-not $NoClean) {
76+
# Write-Section "Clean build/dist"
77+
# Remove-Item -Recurse -Force (Join-Path $RepoRoot "build"), (Join-Path $RepoRoot "dist") -ErrorAction SilentlyContinue
78+
# New-Item -ItemType Directory -Force $DistDir | Out-Null
79+
# New-Item -ItemType Directory -Force $DiagDir | Out-Null
80+
#}
8181

8282
if (-not $SkipPyInstaller) {
83-
Write-Section "PyInstaller build"
84-
Push-Location $RepoRoot
85-
try {
86-
& $VenvPy -m PyInstaller --clean -y (Join-Path $InstallersDir "pyinstaller-ibeis.spec") | Out-Host
87-
} finally {
88-
Pop-Location
89-
}
83+
#Write-Section "PyInstaller build"
84+
#Push-Location $RepoRoot
85+
#try {
86+
# & $VenvPy -m PyInstaller --clean -y (Join-Path $InstallersDir "pyinstaller-ibeis.spec") | Out-Host
87+
#} finally {
88+
# Pop-Location
89+
#}
9090

9191
Write-Section "Post-build checks"
9292
$AppDir = Join-Path $DistDir "IBEIS-dist"
@@ -130,6 +130,7 @@ try {
130130
}
131131

132132

133+
133134
# Run your CLI deps checker and save output
134135
Write-Section "Dependency scan (all_deps.py) -> deps_hesaff.txt"
135136
$DepsOut = Join-Path $DiagDir "deps_hesaff.txt"

0 commit comments

Comments
 (0)