Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 1 | ##### |
2 | # First, rules intended to apply in all subdirectories. | ||||
3 | # These contain no slash, or only a trailing slash. | ||||
Greg Price | 8c9e9b0 | 2019-08-27 11:16:31 -0700 | [diff] [blame] | 4 | |
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 5 | *.cover |
gfyoung | c0fa4ba | 2017-05-24 11:57:37 -0400 | [diff] [blame] | 6 | *.iml |
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 7 | *.o |
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 8 | *.a |
Anthony Sottile | 1ef4c32 | 2019-11-26 20:54:46 -0800 | [diff] [blame] | 9 | *.so |
10 | *.so.* | ||||
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 11 | *.dylib |
12 | *.dll | ||||
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 13 | *.orig |
14 | *.pyc | ||||
15 | *.pyd | ||||
16 | *.pyo | ||||
17 | *.rej | ||||
Petri Lehtinen | 0f00dfa | 2012-05-22 20:48:16 +0300 | [diff] [blame] | 18 | *.swp |
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 19 | *~ |
Brett Cannon | 7188a3e | 2015-09-18 15:13:44 -0700 | [diff] [blame] | 20 | *.gc?? |
21 | *.profclang? | ||||
22 | *.profraw | ||||
Zachary Ware | 5af8564 | 2015-12-21 12:09:17 -0600 | [diff] [blame] | 23 | *.dyn |
Petri Lehtinen | 0f00dfa | 2012-05-22 20:48:16 +0300 | [diff] [blame] | 24 | .gdb_history |
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 25 | .purify |
26 | __pycache__ | ||||
27 | .hg/ | ||||
28 | .svn/ | ||||
29 | .idea/ | ||||
30 | tags | ||||
31 | TAGS | ||||
32 | .vs/ | ||||
33 | .vscode/ | ||||
34 | gmon.out | ||||
35 | .coverage | ||||
36 | .mypy_cache/ | ||||
Brandt Bucher | 57d3ab8 | 2019-11-15 00:22:41 -0800 | [diff] [blame] | 37 | .pytest_cache/ |
Miss Islington (bot) | e8a43ef | 2021-08-11 06:06:43 -0700 | [diff] [blame] | 38 | .DS_Store |
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 39 | |
40 | *.exe | ||||
41 | !Lib/distutils/command/*.exe | ||||
42 | |||||
43 | # Ignore core dumps... but not Tools/msi/core/ or the like. | ||||
44 | core | ||||
45 | !core/ | ||||
46 | |||||
47 | |||||
48 | ##### | ||||
49 | # Then, rules meant for a specific location relative to the repo root. | ||||
50 | # These must contain a non-trailing slash (and may also have a trailing slash.) | ||||
51 | |||||
Victor Stinner | d960fae | 2010-10-25 17:37:18 +0000 | [diff] [blame] | 52 | Doc/build/ |
Brett Cannon | d5ea39d | 2014-12-05 15:17:31 -0500 | [diff] [blame] | 53 | Doc/venv/ |
Ned Deily | 590665c | 2017-09-07 17:17:53 -0700 | [diff] [blame] | 54 | Doc/.venv/ |
55 | Doc/env/ | ||||
56 | Doc/.env/ | ||||
Łukasz Langa | 50da40f | 2017-03-10 05:29:43 -0800 | [diff] [blame] | 57 | Include/pydtrace_probes.h |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 58 | Lib/distutils/command/*.pdb |
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 59 | Lib/lib2to3/*.pickle |
Andrew Kuchling | 5e03e49 | 2013-06-21 07:44:50 -0400 | [diff] [blame] | 60 | Lib/test/data/* |
Greg Price | 5e5e951 | 2019-09-09 02:34:50 -0700 | [diff] [blame] | 61 | !Lib/test/data/README |
62 | /Makefile | ||||
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 63 | /Makefile.pre |
Miss Islington (bot) | d729c80 | 2021-11-04 12:32:03 -0700 | [diff] [blame] | 64 | Mac/Makefile |
65 | Mac/PythonLauncher/Info.plist | ||||
66 | Mac/PythonLauncher/Makefile | ||||
67 | Mac/PythonLauncher/Python Launcher | ||||
68 | Mac/PythonLauncher/Python Launcher.app/* | ||||
69 | Mac/Resources/app/Info.plist | ||||
70 | Mac/Resources/framework/Info.plist | ||||
71 | Mac/pythonw | ||||
72 | /*.framework/ | ||||
Victor Stinner | d960fae | 2010-10-25 17:37:18 +0000 | [diff] [blame] | 73 | Misc/python.pc |
Victor Stinner | 0a8e572 | 2019-05-23 03:30:23 +0200 | [diff] [blame] | 74 | Misc/python-embed.pc |
Petri Lehtinen | 4eb9f50 | 2013-02-23 15:35:42 +0100 | [diff] [blame] | 75 | Misc/python-config.sh |
Victor Stinner | d960fae | 2010-10-25 17:37:18 +0000 | [diff] [blame] | 76 | Modules/Setup.config |
77 | Modules/Setup.local | ||||
78 | Modules/config.c | ||||
Victor Stinner | 7bbc855 | 2010-12-17 22:24:30 +0000 | [diff] [blame] | 79 | Modules/ld_so_aix |
Nick Coghlan | 973fe0b | 2014-07-25 21:52:14 +1000 | [diff] [blame] | 80 | Programs/_freeze_importlib |
81 | Programs/_testembed | ||||
Zachary Ware | 30270c8 | 2014-10-10 23:42:59 -0500 | [diff] [blame] | 82 | PC/python_nt*.h |
83 | PC/pythonnt_rc*.h | ||||
Batuhan Taşkaya | 3955da8 | 2020-04-19 21:02:17 +0300 | [diff] [blame] | 84 | Modules/python.exp |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 85 | PC/*/*.exp |
86 | PC/*/*.lib | ||||
87 | PC/*/*.bsc | ||||
88 | PC/*/*.dll | ||||
89 | PC/*/*.pdb | ||||
90 | PC/*/*.user | ||||
91 | PC/*/*.ncb | ||||
92 | PC/*/*.suo | ||||
93 | PC/*/Win32-temp-* | ||||
94 | PC/*/x64-temp-* | ||||
95 | PC/*/amd64 | ||||
Zachary Ware | 30270c8 | 2014-10-10 23:42:59 -0500 | [diff] [blame] | 96 | PCbuild/*.user |
97 | PCbuild/*.suo | ||||
98 | PCbuild/*.*sdf | ||||
Zachary Ware | 30270c8 | 2014-10-10 23:42:59 -0500 | [diff] [blame] | 99 | PCbuild/*-pgi |
100 | PCbuild/*-pgo | ||||
Segev Finer | 8e67528 | 2017-04-21 02:32:26 +0300 | [diff] [blame] | 101 | PCbuild/*.VC.db |
102 | PCbuild/*.VC.opendb | ||||
Petri Lehtinen | 0f00dfa | 2012-05-22 20:48:16 +0300 | [diff] [blame] | 103 | PCbuild/amd64/ |
Paul Monson | 8a1657b | 2019-02-14 08:31:30 -0800 | [diff] [blame] | 104 | PCbuild/arm32/ |
Paul Monson | f96e7fd | 2019-05-17 10:07:24 -0700 | [diff] [blame] | 105 | PCbuild/arm64/ |
Zachary Ware | 2eb1a8b | 2015-05-16 22:45:27 -0500 | [diff] [blame] | 106 | PCbuild/obj/ |
Segev Finer | be5ebe5 | 2017-07-06 23:43:37 +0300 | [diff] [blame] | 107 | PCbuild/win32/ |
Greg Price | 3e4498d | 2019-08-14 18:18:53 -0700 | [diff] [blame] | 108 | Tools/unicode/data/ |
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 109 | /autom4te.cache |
110 | /build/ | ||||
111 | /config.cache | ||||
112 | /config.log | ||||
113 | /config.status | ||||
114 | /config.status.lineno | ||||
115 | /platform | ||||
Marco Sulla | 96a9eed | 2020-10-26 06:30:51 +0100 | [diff] [blame] | 116 | /profile-clean-stamp |
117 | /profile-run-stamp | ||||
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 118 | /pybuilddir.txt |
Greg Price | 5e5e951 | 2019-09-09 02:34:50 -0700 | [diff] [blame] | 119 | /pyconfig.h |
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 120 | /python-config |
121 | /python-config.py | ||||
122 | /python.bat | ||||
123 | /python-gdb.py | ||||
124 | /python.exe-gdb.py | ||||
125 | /reflog.txt | ||||
126 | /coverage/ | ||||
127 | /externals/ | ||||
128 | /htmlcov/ | ||||
Steve Dower | bb24087 | 2015-02-05 22:08:48 -0800 | [diff] [blame] | 129 | Tools/msi/obj |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 130 | Tools/ssl/amd64 |
131 | Tools/ssl/win32 | ||||
Greg Price | 455122a | 2019-09-11 02:25:26 -0700 | [diff] [blame] | 132 | |
133 | # Two-trick pony for OSX and other case insensitive file systems: | ||||
134 | # Ignore ./python binary on Unix but still look into ./Python/ directory. | ||||
135 | /python | ||||
136 | !/Python/ | ||||
Łukasz Langa | 904af3d | 2021-11-20 16:34:56 +0100 | [diff] [blame] | 137 | |
138 | # Artifacts generated by 3.11 lying around when switching branches: | ||||
139 | /_bootstrap_python | ||||
140 | /Programs/_freeze_module | ||||
141 | /Python/deepfreeze/ | ||||
142 | /Python/frozen_modules/ |