mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #49578 from twangboy/fix_49566
Use setup.py clean --all
This commit is contained in:
commit
63b664334b
1 changed files with 8 additions and 2 deletions
|
@ -113,8 +113,14 @@ if not %errorLevel%==0 (
|
|||
:: Remove build and dist directories
|
||||
@echo %0 :: Remove build and dist directories...
|
||||
@echo ---------------------------------------------------------------------
|
||||
rd /s /q "%SrcDir%\build"
|
||||
rd /s /q "%SrcDir%\dist"
|
||||
"%PyDir%\python.exe" "%SrcDir%\setup.py" clean --all
|
||||
if not %errorLevel%==0 (
|
||||
goto eof
|
||||
)
|
||||
If Exist "%SrcDir%\dist" (
|
||||
@echo removing %SrcDir%\dist
|
||||
rd /S /Q "%SrcDir%\dist"
|
||||
)
|
||||
@echo.
|
||||
|
||||
:: Install Current Version of salt
|
||||
|
|
Loading…
Add table
Reference in a new issue