• 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/builddir/
118/config.cache
119/config.log
120/config.status
121/config.status.lineno
122# hendrikmuhs/ccache-action@v1
123/.ccache
124/platform
125/profile-clean-stamp
126/profile-run-stamp
127/Python/deepfreeze/*.c
128/pybuilddir.txt
129/pyconfig.h
130/python-config
131/python-config.py
132/python.bat
133/python-gdb.py
134/python.exe-gdb.py
135/reflog.txt
136/coverage/
137/externals/
138/htmlcov/
139Tools/msi/obj
140Tools/ssl/amd64
141Tools/ssl/win32
142Tools/freeze/test/outdir
143
144# The frozen modules are always generated by the build so we don't
145# keep them in the repo.  Also see Tools/scripts/freeze_modules.py.
146Python/frozen_modules/*.h
147# The manifest can be generated at any time with "make regen-frozen".
148Python/frozen_modules/MANIFEST
149
150# Two-trick pony for OSX and other case insensitive file systems:
151# Ignore ./python binary on Unix but still look into ./Python/ directory.
152/python
153!/Python/
154