diff --git a/MANIFEST.in.dist b/MANIFEST.in.dist index a3d86ac17f..7263950694 100644 --- a/MANIFEST.in.dist +++ b/MANIFEST.in.dist @@ -22,4 +22,3 @@ recursive-include static-libraries * recursive-include data * recursive-exclude python-packages *pyc -recursive-exclude dist-packages *pyc diff --git a/setup.py b/setup.py index 494c082f66..f5d84fe32c 100644 --- a/setup.py +++ b/setup.py @@ -230,7 +230,7 @@ def run(self): if STATIC_BUILD: manifest_content = file(os.path.join(where_am_i, 'MANIFEST.in.dist'), 'r').read() - manifest_content += "\n" + "recursive-include dist-packages *" + manifest_content += "\n" + "recursive-include dist-packages *\nrecursive-exclude dist-packages *pyc" file(os.path.join(where_am_i, 'MANIFEST.in'), "w").write(manifest_content) sys.stderr.write(