File size: 572 Bytes
41f85e5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Copyright (c) 2023, Shukant Pal and Contributors
# SPDX-License-Identifier: Apache-2.0
import os
for root, directories, files in os.walk('pyktx'):
for file in files:
if (file.endswith('.o') or
file.endswith('.obj') or
file.endswith('.lib') or
file.endswith('.so') or
file.endswith('.dylib') or
file.endswith('.dll') or
file.startswith('native')):
path = os.path.join('pyktx', file)
print(f"Deleting {path}")
os.remove(path)
|