blob: 0e3f973d0fc7c8fe70b36de595294d64078d89ba [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
9*.so*
10*.dylib
11*.dll
Victor Stinner7bbc8552010-12-17 22:24:30 +000012*.orig
13*.pyc
14*.pyd
15*.pyo
16*.rej
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030017*.swp
Victor Stinner7bbc8552010-12-17 22:24:30 +000018*~
Brett Cannon7188a3e2015-09-18 15:13:44 -070019*.gc??
20*.profclang?
21*.profraw
Zachary Ware5af85642015-12-21 12:09:17 -060022*.dyn
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030023.gdb_history
Greg Price455122a2019-09-11 02:25:26 -070024.purify
25__pycache__
26.hg/
27.svn/
28.idea/
29tags
30TAGS
31.vs/
32.vscode/
33gmon.out
34.coverage
35.mypy_cache/
36
37*.exe
38!Lib/distutils/command/*.exe
39
40# Ignore core dumps... but not Tools/msi/core/ or the like.
41core
42!core/
43
44
45#####
46# Then, rules meant for a specific location relative to the repo root.
47# These must contain a non-trailing slash (and may also have a trailing slash.)
48
Victor Stinnerd960fae2010-10-25 17:37:18 +000049Doc/build/
Brett Cannond5ea39d2014-12-05 15:17:31 -050050Doc/venv/
Ned Deily590665c2017-09-07 17:17:53 -070051Doc/.venv/
52Doc/env/
53Doc/.env/
Ɓukasz Langa50da40f2017-03-10 05:29:43 -080054Include/pydtrace_probes.h
Steve Dower65e4cb12014-11-22 12:54:57 -080055Lib/distutils/command/*.pdb
Victor Stinner7bbc8552010-12-17 22:24:30 +000056Lib/lib2to3/*.pickle
Andrew Kuchling5e03e492013-06-21 07:44:50 -040057Lib/test/data/*
Greg Price5e5e9512019-09-09 02:34:50 -070058!Lib/test/data/README
59/Makefile
Greg Price455122a2019-09-11 02:25:26 -070060/Makefile.pre
Victor Stinnerd960fae2010-10-25 17:37:18 +000061Misc/python.pc
Victor Stinner0a8e5722019-05-23 03:30:23 +020062Misc/python-embed.pc
Petri Lehtinen4eb9f502013-02-23 15:35:42 +010063Misc/python-config.sh
Victor Stinnerd960fae2010-10-25 17:37:18 +000064Modules/Setup.config
65Modules/Setup.local
66Modules/config.c
Victor Stinner7bbc8552010-12-17 22:24:30 +000067Modules/ld_so_aix
Nick Coghlan973fe0b2014-07-25 21:52:14 +100068Programs/_freeze_importlib
69Programs/_testembed
Zachary Ware30270c82014-10-10 23:42:59 -050070PC/python_nt*.h
71PC/pythonnt_rc*.h
Steve Dower65e4cb12014-11-22 12:54:57 -080072PC/*/*.exp
73PC/*/*.lib
74PC/*/*.bsc
75PC/*/*.dll
76PC/*/*.pdb
77PC/*/*.user
78PC/*/*.ncb
79PC/*/*.suo
80PC/*/Win32-temp-*
81PC/*/x64-temp-*
82PC/*/amd64
Zachary Ware30270c82014-10-10 23:42:59 -050083PCbuild/*.user
84PCbuild/*.suo
85PCbuild/*.*sdf
Zachary Ware30270c82014-10-10 23:42:59 -050086PCbuild/*-pgi
87PCbuild/*-pgo
Segev Finer8e675282017-04-21 02:32:26 +030088PCbuild/*.VC.db
89PCbuild/*.VC.opendb
Petri Lehtinen0f00dfa2012-05-22 20:48:16 +030090PCbuild/amd64/
Paul Monson8a1657b2019-02-14 08:31:30 -080091PCbuild/arm32/
Paul Monsonf96e7fd2019-05-17 10:07:24 -070092PCbuild/arm64/
Zachary Ware2eb1a8b2015-05-16 22:45:27 -050093PCbuild/obj/
Segev Finerbe5ebe52017-07-06 23:43:37 +030094PCbuild/win32/
Greg Price3e4498d2019-08-14 18:18:53 -070095Tools/unicode/data/
Greg Price455122a2019-09-11 02:25:26 -070096/autom4te.cache
97/build/
98/config.cache
99/config.log
100/config.status
101/config.status.lineno
102/platform
103/pybuilddir.txt
Greg Price5e5e9512019-09-09 02:34:50 -0700104/pyconfig.h
Greg Price455122a2019-09-11 02:25:26 -0700105/python-config
106/python-config.py
107/python.bat
108/python-gdb.py
109/python.exe-gdb.py
110/reflog.txt
111/coverage/
112/externals/
113/htmlcov/
Steve Dowerbb240872015-02-05 22:08:48 -0800114Tools/msi/obj
Steve Dower65e4cb12014-11-22 12:54:57 -0800115Tools/ssl/amd64
116Tools/ssl/win32
Greg Price455122a2019-09-11 02:25:26 -0700117
118# Two-trick pony for OSX and other case insensitive file systems:
119# Ignore ./python binary on Unix but still look into ./Python/ directory.
120/python
121!/Python/