blob: 19b4214a9aea017557edecf17015f43ca40ec79b [file] [log] [blame]
Greg Price455122a2019-09-11 02:25:26 -07001#####
2# First, rules intended to apply in all subdirectories.
3# These contain no slash, or only a trailing slash.
Greg Price8c9e9b02019-08-27 11:16:31 -07004
Victor Stinner7bbc8552010-12-17 22:24:30 +00005*.cover
gfyoungc0fa4ba2017-05-24 11:57:37 -04006*.iml
Victor Stinner7bbc8552010-12-17 22:24:30 +00007*.o
Greg Price455122a2019-09-11 02:25:26 -07008*.a
Anthony Sottile1ef4c322019-11-26 20:54:46 -08009*.so
10*.so.*
Greg Price455122a2019-09-11 02:25:26 -070011*.dylib
12*.dll
Victor Stinner7bbc8552010-12-17 22:24:30 +000013*.orig
14*.pyc
15*.pyd
16*.pyo
17*.rej
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030018*.swp
Victor Stinner7bbc8552010-12-17 22:24:30 +000019*~
Brett Cannon7188a3e2015-09-18 15:13:44 -070020*.gc??
21*.profclang?
22*.profraw
Zachary Ware5af85642015-12-21 12:09:17 -060023*.dyn
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030024.gdb_history
Greg Price455122a2019-09-11 02:25:26 -070025.purify
26__pycache__
27.hg/
28.svn/
29.idea/
30tags
31TAGS
32.vs/
33.vscode/
34gmon.out
35.coverage
36.mypy_cache/
Brandt Bucher57d3ab82019-11-15 00:22:41 -080037.pytest_cache/
Miss Islington (bot)e8a43ef2021-08-11 06:06:43 -070038.DS_Store
Greg Price455122a2019-09-11 02:25:26 -070039
40*.exe
41!Lib/distutils/command/*.exe
42
43# Ignore core dumps... but not Tools/msi/core/ or the like.
44core
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 Stinnerd960fae2010-10-25 17:37:18 +000052Doc/build/
Brett Cannond5ea39d2014-12-05 15:17:31 -050053Doc/venv/
Ned Deily590665c2017-09-07 17:17:53 -070054Doc/.venv/
55Doc/env/
56Doc/.env/
Łukasz Langa50da40f2017-03-10 05:29:43 -080057Include/pydtrace_probes.h
Steve Dower65e4cb12014-11-22 12:54:57 -080058Lib/distutils/command/*.pdb
Victor Stinner7bbc8552010-12-17 22:24:30 +000059Lib/lib2to3/*.pickle
Andrew Kuchling5e03e492013-06-21 07:44:50 -040060Lib/test/data/*
Greg Price5e5e9512019-09-09 02:34:50 -070061!Lib/test/data/README
62/Makefile
Greg Price455122a2019-09-11 02:25:26 -070063/Makefile.pre
Miss Islington (bot)d729c802021-11-04 12:32:03 -070064Mac/Makefile
65Mac/PythonLauncher/Info.plist
66Mac/PythonLauncher/Makefile
67Mac/PythonLauncher/Python Launcher
68Mac/PythonLauncher/Python Launcher.app/*
69Mac/Resources/app/Info.plist
70Mac/Resources/framework/Info.plist
71Mac/pythonw
72/*.framework/
Victor Stinnerd960fae2010-10-25 17:37:18 +000073Misc/python.pc
Victor Stinner0a8e5722019-05-23 03:30:23 +020074Misc/python-embed.pc
Petri Lehtinen4eb9f502013-02-23 15:35:42 +010075Misc/python-config.sh
Victor Stinnerd960fae2010-10-25 17:37:18 +000076Modules/Setup.config
77Modules/Setup.local
78Modules/config.c
Victor Stinner7bbc8552010-12-17 22:24:30 +000079Modules/ld_so_aix
Nick Coghlan973fe0b2014-07-25 21:52:14 +100080Programs/_freeze_importlib
81Programs/_testembed
Zachary Ware30270c82014-10-10 23:42:59 -050082PC/python_nt*.h
83PC/pythonnt_rc*.h
Batuhan Taşkaya3955da82020-04-19 21:02:17 +030084Modules/python.exp
Steve Dower65e4cb12014-11-22 12:54:57 -080085PC/*/*.exp
86PC/*/*.lib
87PC/*/*.bsc
88PC/*/*.dll
89PC/*/*.pdb
90PC/*/*.user
91PC/*/*.ncb
92PC/*/*.suo
93PC/*/Win32-temp-*
94PC/*/x64-temp-*
95PC/*/amd64
Zachary Ware30270c82014-10-10 23:42:59 -050096PCbuild/*.user
97PCbuild/*.suo
98PCbuild/*.*sdf
Zachary Ware30270c82014-10-10 23:42:59 -050099PCbuild/*-pgi
100PCbuild/*-pgo
Segev Finer8e675282017-04-21 02:32:26 +0300101PCbuild/*.VC.db
102PCbuild/*.VC.opendb
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +0300103PCbuild/amd64/
Paul Monson8a1657b2019-02-14 08:31:30 -0800104PCbuild/arm32/
Paul Monsonf96e7fd2019-05-17 10:07:24 -0700105PCbuild/arm64/
Zachary Ware2eb1a8b2015-05-16 22:45:27 -0500106PCbuild/obj/
Segev Finerbe5ebe52017-07-06 23:43:37 +0300107PCbuild/win32/
Greg Price3e4498d2019-08-14 18:18:53 -0700108Tools/unicode/data/
Greg Price455122a2019-09-11 02:25:26 -0700109/autom4te.cache
110/build/
111/config.cache
112/config.log
113/config.status
114/config.status.lineno
115/platform
Marco Sulla96a9eed2020-10-26 06:30:51 +0100116/profile-clean-stamp
117/profile-run-stamp
Greg Price455122a2019-09-11 02:25:26 -0700118/pybuilddir.txt
Greg Price5e5e9512019-09-09 02:34:50 -0700119/pyconfig.h
Greg Price455122a2019-09-11 02:25:26 -0700120/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 Dowerbb240872015-02-05 22:08:48 -0800129Tools/msi/obj
Steve Dower65e4cb12014-11-22 12:54:57 -0800130Tools/ssl/amd64
131Tools/ssl/win32
Greg Price455122a2019-09-11 02:25:26 -0700132
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 Langa904af3d2021-11-20 16:34:56 +0100137
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/