Skip to content

Commit a0faee3

Browse files
committed
removing pc file as well during cleanup
1 parent 9ab10ba commit a0faee3

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,3 +242,13 @@ libzim.*.dylib
242242
zim*.dll
243243
libicu*.dll
244244
zim.lib
245+
246+
# pkg-config file
247+
*.pc
248+
249+
# downloaded archives
250+
*.tar.gz
251+
*.zip
252+
253+
# zim files
254+
*.zim

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def cleanup(self):
339339
# we downloaded libzim, so we must remove it
340340
if self.download_libzim:
341341
print("removing downloaded libraries")
342-
for fpath in self.dylib_file.parent.glob("*.[dylib|so|dll|lib]*"):
342+
for fpath in self.dylib_file.parent.glob("*.[dylib|so|dll|lib|pc]*"):
343343
print(">", fpath)
344344
fpath.unlink(missing_ok=True)
345345
if self.header_file.parent.exists():

0 commit comments

Comments
 (0)