From ba5b39cd463ef408f8def2970804dceb8199285b Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Thu, 21 Jan 2016 13:57:24 -0800 Subject: [PATCH] Avoid including .pyc in source distribution Fix #1825. Inspired by: https://github.com/mitsuhiko/flask/blob/master/MANIFEST.in --- MANIFEST.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index e040a9c34..3e64d2781 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,8 @@ # Include tests (but avoid including *.pyc, etc.) prune test recursive-include test/rsrc * +recursive-exclude test/rsrc *.pyc +recursive-exclude test/rsrc *.pyo include test/*.py # Include relevant text files.