From 7b486642eaca23f83e3d60e84c9386ab5efaf41f Mon Sep 17 00:00:00 2001 From: Alex Hammi Date: Mon, 8 Sep 2025 22:41:28 +0200 Subject: [PATCH 1/2] Improve .gitignore file Ingore some files generated by buildtest command in setup.py --- .gitignore | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 23e954719..01a552c2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,19 @@ +# Ignore Python bytecode and build artifacts *.pyc *.so *.o *.swp + build/ demo/README.rst -docs/build \ No newline at end of file +docs/build + +# Ignore files produced during build +# Ignore mupdf source +mupdf-*/ + +# Ignore any tar.gz files +*.tar.gz + +# Ignore test cache +tests/cache From 0708a2355af96c30d5d9e9aaf79a965871c8b56d Mon Sep 17 00:00:00 2001 From: Alex Hammi <45588834+AH-Hammi@users.noreply.github.com> Date: Tue, 9 Sep 2025 20:37:37 +0200 Subject: [PATCH 2/2] Add comment for object files --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 01a552c2a..019f5062c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ # Ignore Python bytecode and build artifacts *.pyc + +# Ignore Object files *.so *.o *.swp