codegpt-ai 1.0.0

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.
package/build.ps1 ADDED
@@ -0,0 +1,22 @@
1
+ # Build ai.exe locally
2
+ # Run: powershell -File build.ps1
3
+
4
+ $ErrorActionPreference = "Stop"
5
+
6
+ Write-Host "Building CodeGPT -> ai.exe" -ForegroundColor Cyan
7
+
8
+ # Install build deps
9
+ pip install pyinstaller requests rich prompt-toolkit
10
+
11
+ # Build
12
+ pyinstaller ai.spec --noconfirm
13
+
14
+ # Verify
15
+ if (Test-Path "dist\ai.exe") {
16
+ $size = [math]::Round((Get-Item "dist\ai.exe").Length / 1MB, 1)
17
+ Write-Host "Build complete: dist\ai.exe ($size MB)" -ForegroundColor Green
18
+ & dist\ai.exe --version
19
+ } else {
20
+ Write-Host "Build failed!" -ForegroundColor Red
21
+ exit 1
22
+ }