mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Add sdist build step
This commit is contained in:
parent
a70c560192
commit
d448795941
2 changed files with 6 additions and 1 deletions
|
|
@ -1 +1,2 @@
|
|||
include LICENSE
|
||||
global-exclude *.py[cdo]
|
||||
|
|
|
|||
|
|
@ -23,9 +23,12 @@ if (-not $pack) {
|
|||
}
|
||||
|
||||
} else {
|
||||
gci $dist\*.whl | Remove-Item -Force
|
||||
gci $dist\*.whl, $dist\*.zip | Remove-Item -Force
|
||||
|
||||
(gci $packages\python* -Directory) | %{ gi $_\tools\python.exe } | ?{ Test-Path $_ } | select -last 1 | %{
|
||||
Write-Host "Building sdist with $_"
|
||||
& $_ setup.py sdist -d "$dist" --formats zip
|
||||
|
||||
Write-Host "Building wheel with $_"
|
||||
& $_ setup.py build -b "$bin" -t "$obj" bdist_wheel -d "$dist"
|
||||
gci $dist\ptvsd-*.whl | %{
|
||||
|
|
@ -35,5 +38,6 @@ if (-not $pack) {
|
|||
Remove-Item $_
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue