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