From 7e68c1938154870b82cbed6e762313f346806b64 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 25 Jun 2016 22:55:41 +0530 Subject: [PATCH] ... --- setup/installer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/installer/__init__.py b/setup/installer/__init__.py index 3d6e763ab0..4ebfb35cc7 100644 --- a/setup/installer/__init__.py +++ b/setup/installer/__init__.py @@ -15,7 +15,7 @@ from setup.build_environment import BUILD_HOST, PROJECT BASE_RSYNC = ['rsync', '-av', '--delete', '--force'] EXCLUDES = [] for x in [ - '/src/calibre/plugins', '/manual', '/translations', '/build', '/dist', '/imgsrc', '/format_docs' + '/src/calibre/plugins', '/manual', '/translations', '/build', '/dist', '/imgsrc', '/format_docs', '/.build-cache', '.bzr', '.git', '.build', '.svn', '*.pyc', '*.pyo', '*.swp', '*.swo', '*.pyj-cached']: EXCLUDES.extend(['--exclude', ('/calibre' + x) if x.startswith('/') else x]) SAFE_EXCLUDES = ['"%s"'%x if '*' in x else x for x in EXCLUDES]