File: clean.cmd

package info (click to toggle)
debugpy 1.6.6%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,264 kB
  • sloc: python: 13,833; sh: 244; makefile: 25
file content (18 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off

pushd %~dp0
rd /s /q build dist
del /s /q *.pyc
del /s /q *.pyo
for /d /r %%i in (__pycache__.*) do rd "%%i"
popd

pushd %~dp0\src
del /s /q *.pyd
del /s /q *-linux-gnu.so
popd

pushd %~dp0\tests
del /s /q *.pyd
del /s /q *-linux-gnu.so
popd