From 1de332a0f2adce4d3a87dd65ce7ea3cbc9cc1ff9 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sun, 10 Apr 2011 10:16:11 +0200 Subject: [PATCH] Ignore comment lines in MANIFEST when checking files. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3418e49c..cb93222c 100755 --- a/setup.py +++ b/setup.py @@ -290,7 +290,7 @@ def check_manifest (): print '\n*** SOURCE WARNING: The MANIFEST file is missing!' return try: - manifest = [l.strip() for l in f.readlines()] + manifest = [l.strip() for l in f.readlines() if not l.startswith('#')] finally: f.close() err = [line for line in manifest if not os.path.exists(line)]