From 437cedab54536fb527cfffcf9a3e95c8d946ebcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Thu, 15 May 2014 07:10:47 +0200 Subject: [PATCH] make Mercurial ignore additional setup.py/build/test artifacts Files & folders starting '__' are temporary or cache artefacts produced by either Python (e.g. '__pycache__' folders) or our internal development tools. *.egg/*.gz/*.zip files may be downloaded by setup.py when running its develop/install/test commands. *.egg-info folder gets created by setup.py when running its build/develop/egg_info/install/test commands. --- .hgignore | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.hgignore b/.hgignore index 0055d58..7801036 100644 --- a/.hgignore +++ b/.hgignore @@ -1,12 +1,19 @@ syntax: regexp -# Root folders - 'setup.py install' artifacts. +# 'setup.py' artifacts. ^build/ ^dist/ -^[^/]+.egg-info/ +\.egg$ +\.egg-info/ +\.gz$ +\.zip$ -# Precompiled Python modules. -/__pycache__$ +# Temporary or cache files & folders created by Python (e.g. __pycache__ +# folders) or our internal development tools. +^__ +/__ + +# Precompiled Python modules outside a __pycache__ folder. \.pyc$ \.pyo$