Skip to content

Commit

Permalink
Don't generate stubs during the build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Muream committed Jun 7, 2021
1 parent aa969ff commit 5613695
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions build_win32.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,6 @@ $clean_duration = $t4 - $t3

Write-Host "(4) Finished in $clean_duration ms"
Write-Host "(4) ----------------------------"
Write-Host "(5) Generating typing stubs.."

."$env:MAYA_LOCATION/bin/mayapy.exe" -m pybind11_stubgen -o build cmdc

if (!$?) {
[System.Environment]::Exit(1)
}

$t5 = $stopwatch.ElapsedMilliseconds
$stub_generation_duration = $t5 - $t4

Write-Host "(5) Finished in $stub_generation_duration ms"
Write-Host "(5) ----------------------------"

$total_duration = $t5 - $t0
$total_duration = $t4 - $t0
Write-Host "Successfully created .\build\cmdc.pyd in $total_duration ms"

0 comments on commit 5613695

Please sign in to comment.