1##### 2# First, rules intended to apply in all subdirectories. 3# These contain no slash, or only a trailing slash. 4 5*.cover 6*.iml 7*.o 8*.lto 9*.a 10*.so 11*.so.* 12*.dylib 13*.dSYM 14*.dll 15*.wasm 16*.orig 17*.pyc 18*.pyd 19*.pyo 20*.rej 21*.swp 22*~ 23*.gc?? 24*.profclang? 25*.profraw 26# Copies of binaries before BOLT optimizations. 27*.prebolt 28# BOLT profile data. 29*.fdata 30*.dyn 31.gdb_history 32.purify 33__pycache__ 34.hg/ 35.svn/ 36.idea/ 37tags 38TAGS 39.vs/ 40.vscode/ 41gmon.out 42.coverage 43.mypy_cache/ 44.pytest_cache/ 45.ruff_cache/ 46.DS_Store 47 48*.exe 49 50# Ignore core dumps... but not Tools/msi/core/ or the like. 51core 52!core/ 53 54 55##### 56# Then, rules meant for a specific location relative to the repo root. 57# These must contain a non-trailing slash (and may also have a trailing slash.) 58 59Doc/build/ 60Doc/venv/ 61Doc/.venv/ 62Doc/env/ 63Doc/.env/ 64Include/pydtrace_probes.h 65Lib/site-packages/* 66!Lib/site-packages/README.txt 67Lib/test/data/* 68!Lib/test/data/README 69/_bootstrap_python 70/Makefile 71/Makefile.pre 72/iOSTestbed.* 73iOS/Frameworks/ 74iOS/Resources/Info.plist 75iOS/testbed/build 76iOS/testbed/Python.xcframework/ios-*/bin 77iOS/testbed/Python.xcframework/ios-*/include 78iOS/testbed/Python.xcframework/ios-*/lib 79iOS/testbed/Python.xcframework/ios-*/Python.framework 80iOS/testbed/iOSTestbed.xcodeproj/project.xcworkspace 81iOS/testbed/iOSTestbed.xcodeproj/xcuserdata 82iOS/testbed/iOSTestbed.xcodeproj/xcshareddata 83Mac/Makefile 84Mac/PythonLauncher/Info.plist 85Mac/PythonLauncher/Makefile 86Mac/PythonLauncher/Python Launcher 87Mac/PythonLauncher/Python Launcher.app/* 88Mac/Resources/app/Info.plist 89Mac/Resources/framework/Info.plist 90Mac/pythonw 91/*.framework/ 92Misc/python.pc 93Misc/python-embed.pc 94Misc/python-config.sh 95Modules/Setup.bootstrap 96Modules/Setup.config 97Modules/Setup.local 98Modules/Setup.stdlib 99Modules/config.c 100Modules/ld_so_aix 101Programs/_freeze_module 102Programs/_testembed 103PC/python_nt*.h 104PC/pythonnt_rc*.h 105Modules/python.exp 106PC/*/*.exp 107PC/*/*.lib 108PC/*/*.bsc 109PC/*/*.dll 110PC/*/*.pdb 111PC/*/*.user 112PC/*/*.ncb 113PC/*/*.suo 114PC/*/Win32-temp-* 115PC/*/x64-temp-* 116PC/*/amd64 117PCbuild/*.user 118PCbuild/*.suo 119PCbuild/*.*sdf 120PCbuild/*-pgi 121PCbuild/*-pgo 122PCbuild/*.VC.db 123PCbuild/*.VC.opendb 124PCbuild/amd64/ 125PCbuild/arm32/ 126PCbuild/arm64/ 127PCbuild/obj/ 128PCbuild/win32/ 129Tools/unicode/data/ 130/autom4te.cache 131/build/ 132/builddir/ 133/config.cache 134/config.log 135/config.status 136/config.status.lineno 137# hendrikmuhs/ccache-action@v1 138/.ccache 139/cross-build/ 140/jit_stencils.h 141/platform 142/profile-clean-stamp 143/profile-run-stamp 144/profile-bolt-stamp 145/pybuilddir.txt 146/pyconfig.h 147/python-config 148/python-config.py 149/python.bat 150/python-gdb.py 151/python.exe-gdb.py 152/reflog.txt 153/coverage/ 154/externals/ 155/htmlcov/ 156Tools/msi/obj 157Tools/ssl/amd64 158Tools/ssl/win32 159Tools/freeze/test/outdir 160 161# The frozen modules are always generated by the build so we don't 162# keep them in the repo. Also see Tools/build/freeze_modules.py. 163Python/frozen_modules/*.h 164# The manifest can be generated at any time with "make regen-frozen". 165Python/frozen_modules/MANIFEST 166 167# Two-trick pony for OSX and other case insensitive file systems: 168# Ignore ./python binary on Unix but still look into ./Python/ directory. 169/python 170!/Python/ 171 172