]> git.ipfire.org Git - thirdparty/Python/cpython.git/blame - .gitignore
GH-101112: Add "pattern language" section to pathlib docs (#114030)
[thirdparty/Python/cpython.git] / .gitignore
CommitLineData
455122a0
GP
1#####
2# First, rules intended to apply in all subdirectories.
3# These contain no slash, or only a trailing slash.
8c9e9b0c 4
7bbc855e 5*.cover
c0fa4ba8 6*.iml
7bbc855e 7*.o
5b070c0d 8*.lto
455122a0 9*.a
1ef4c32c
AS
10*.so
11*.so.*
455122a0 12*.dylib
5b070c0d 13*.dSYM
455122a0 14*.dll
d224e769 15*.wasm
7bbc855e
VS
16*.orig
17*.pyc
18*.pyd
19*.pyo
20*.rej
0f00dfa4 21*.swp
7bbc855e 22*~
7188a3ef
BC
23*.gc??
24*.profclang?
25*.profraw
5360cb3d
GS
26# Copies of binaries before BOLT optimizations.
27*.prebolt
28# BOLT profile data.
29*.fdata
5af85640 30*.dyn
0f00dfa4 31.gdb_history
455122a0
GP
32.purify
33__pycache__
34.hg/
35.svn/
36.idea/
37tags
38TAGS
39.vs/
40.vscode/
41gmon.out
42.coverage
43.mypy_cache/
57d3ab85 44.pytest_cache/
0f9d0fb4 45.ruff_cache/
1841c70f 46.DS_Store
455122a0
GP
47
48*.exe
455122a0
GP
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
d960faec 59Doc/build/
d5ea39d1 60Doc/venv/
590665c3
ND
61Doc/.venv/
62Doc/env/
63Doc/.env/
50da40fd 64Include/pydtrace_probes.h
3dcc3962
DS
65Lib/site-packages/*
66!Lib/site-packages/README.txt
5e03e49c 67Lib/test/data/*
5e5e9515 68!Lib/test/data/README
84ca1232 69/_bootstrap_python
5e5e9515 70/Makefile
455122a0 71/Makefile.pre
3167df16
ŁL
72Mac/Makefile
73Mac/PythonLauncher/Info.plist
74Mac/PythonLauncher/Makefile
75Mac/PythonLauncher/Python Launcher
76Mac/PythonLauncher/Python Launcher.app/*
77Mac/Resources/app/Info.plist
78Mac/Resources/framework/Info.plist
79Mac/pythonw
80/*.framework/
d960faec 81Misc/python.pc
0a8e5724 82Misc/python-embed.pc
4eb9f500 83Misc/python-config.sh
ca9689f8 84Modules/Setup.bootstrap
d960faec
VS
85Modules/Setup.config
86Modules/Setup.local
e4bb22fa 87Modules/Setup.stdlib
d960faec 88Modules/config.c
7bbc855e 89Modules/ld_so_aix
044e8d86 90Programs/_freeze_module
973fe0ba 91Programs/_testembed
30270c87
ZW
92PC/python_nt*.h
93PC/pythonnt_rc*.h
3955da85 94Modules/python.exp
65e4cb10
SD
95PC/*/*.exp
96PC/*/*.lib
97PC/*/*.bsc
98PC/*/*.dll
99PC/*/*.pdb
100PC/*/*.user
101PC/*/*.ncb
102PC/*/*.suo
103PC/*/Win32-temp-*
104PC/*/x64-temp-*
105PC/*/amd64
30270c87
ZW
106PCbuild/*.user
107PCbuild/*.suo
108PCbuild/*.*sdf
30270c87
ZW
109PCbuild/*-pgi
110PCbuild/*-pgo
8e675286
SF
111PCbuild/*.VC.db
112PCbuild/*.VC.opendb
0f00dfa4 113PCbuild/amd64/
8a1657b9 114PCbuild/arm32/
f96e7fd9 115PCbuild/arm64/
2eb1a8b6 116PCbuild/obj/
be5ebe58 117PCbuild/win32/
3e4498d3 118Tools/unicode/data/
455122a0
GP
119/autom4te.cache
120/build/
97112651 121/builddir/
455122a0
GP
122/config.cache
123/config.log
124/config.status
125/config.status.lineno
98fac8bc
CH
126# hendrikmuhs/ccache-action@v1
127/.ccache
37589d76 128/cross-build/
f6d9e592 129/jit_stencils.h
455122a0 130/platform
96a9eed2
MS
131/profile-clean-stamp
132/profile-run-stamp
5360cb3d 133/profile-bolt-stamp
1cbaa505 134/Python/deepfreeze/*.c
455122a0 135/pybuilddir.txt
5e5e9515 136/pyconfig.h
455122a0
GP
137/python-config
138/python-config.py
139/python.bat
140/python-gdb.py
141/python.exe-gdb.py
142/reflog.txt
143/coverage/
144/externals/
145/htmlcov/
bb24087a 146Tools/msi/obj
65e4cb10
SD
147Tools/ssl/amd64
148Tools/ssl/win32
13d9205f 149Tools/freeze/test/outdir
455122a0 150
fdc6b3d9 151# The frozen modules are always generated by the build so we don't
1863302d 152# keep them in the repo. Also see Tools/build/freeze_modules.py.
fdc6b3d9 153Python/frozen_modules/*.h
a9757bf3
ES
154# The manifest can be generated at any time with "make regen-frozen".
155Python/frozen_modules/MANIFEST
a2d8c4b8 156
455122a0
GP
157# Two-trick pony for OSX and other case insensitive file systems:
158# Ignore ./python binary on Unix but still look into ./Python/ directory.
159/python
160!/Python/
8e6eccab 161
2ed8f924 162# main branch only: ABI files are not checked/maintained.
8e6eccab 163Doc/data/python*.abi