]>
Commit | Line | Data |
---|---|---|
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/ | |
37 | tags | |
38 | TAGS | |
39 | .vs/ | |
40 | .vscode/ | |
41 | gmon.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. | |
51 | core | |
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 | 59 | Doc/build/ |
d5ea39d1 | 60 | Doc/venv/ |
590665c3 ND |
61 | Doc/.venv/ |
62 | Doc/env/ | |
63 | Doc/.env/ | |
50da40fd | 64 | Include/pydtrace_probes.h |
3dcc3962 DS |
65 | Lib/site-packages/* |
66 | !Lib/site-packages/README.txt | |
5e03e49c | 67 | Lib/test/data/* |
5e5e9515 | 68 | !Lib/test/data/README |
84ca1232 | 69 | /_bootstrap_python |
5e5e9515 | 70 | /Makefile |
455122a0 | 71 | /Makefile.pre |
3167df16 ŁL |
72 | Mac/Makefile |
73 | Mac/PythonLauncher/Info.plist | |
74 | Mac/PythonLauncher/Makefile | |
75 | Mac/PythonLauncher/Python Launcher | |
76 | Mac/PythonLauncher/Python Launcher.app/* | |
77 | Mac/Resources/app/Info.plist | |
78 | Mac/Resources/framework/Info.plist | |
79 | Mac/pythonw | |
80 | /*.framework/ | |
d960faec | 81 | Misc/python.pc |
0a8e5724 | 82 | Misc/python-embed.pc |
4eb9f500 | 83 | Misc/python-config.sh |
ca9689f8 | 84 | Modules/Setup.bootstrap |
d960faec VS |
85 | Modules/Setup.config |
86 | Modules/Setup.local | |
e4bb22fa | 87 | Modules/Setup.stdlib |
d960faec | 88 | Modules/config.c |
7bbc855e | 89 | Modules/ld_so_aix |
044e8d86 | 90 | Programs/_freeze_module |
973fe0ba | 91 | Programs/_testembed |
30270c87 ZW |
92 | PC/python_nt*.h |
93 | PC/pythonnt_rc*.h | |
3955da85 | 94 | Modules/python.exp |
65e4cb10 SD |
95 | PC/*/*.exp |
96 | PC/*/*.lib | |
97 | PC/*/*.bsc | |
98 | PC/*/*.dll | |
99 | PC/*/*.pdb | |
100 | PC/*/*.user | |
101 | PC/*/*.ncb | |
102 | PC/*/*.suo | |
103 | PC/*/Win32-temp-* | |
104 | PC/*/x64-temp-* | |
105 | PC/*/amd64 | |
30270c87 ZW |
106 | PCbuild/*.user |
107 | PCbuild/*.suo | |
108 | PCbuild/*.*sdf | |
30270c87 ZW |
109 | PCbuild/*-pgi |
110 | PCbuild/*-pgo | |
8e675286 SF |
111 | PCbuild/*.VC.db |
112 | PCbuild/*.VC.opendb | |
0f00dfa4 | 113 | PCbuild/amd64/ |
8a1657b9 | 114 | PCbuild/arm32/ |
f96e7fd9 | 115 | PCbuild/arm64/ |
2eb1a8b6 | 116 | PCbuild/obj/ |
be5ebe58 | 117 | PCbuild/win32/ |
3e4498d3 | 118 | Tools/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 | 146 | Tools/msi/obj |
65e4cb10 SD |
147 | Tools/ssl/amd64 |
148 | Tools/ssl/win32 | |
13d9205f | 149 | Tools/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 | 153 | Python/frozen_modules/*.h |
a9757bf3 ES |
154 | # The manifest can be generated at any time with "make regen-frozen". |
155 | Python/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 | 163 | Doc/data/python*.abi |