Skip to content

Commit

Permalink
Merge pull request #4134 from benjaoming/do-not-dist-pyc
Browse files Browse the repository at this point in the history
Fixes #4131
  • Loading branch information
benjaoming committed Jul 22, 2015
2 parents 554bca4 + 1a08293 commit b0a75db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ recursive-include static-libraries *
recursive-include data *

recursive-exclude python-packages *pyc
recursive-exclude dist-packages *pyc
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b0a75db

Please sign in to comment.