Skip to content

Commit

Permalink
Merge pull request #5399 from benjaoming/rm-pyc-from-sdist
Browse files Browse the repository at this point in the history
Clean *pyc files before building the sdist to avoid inclusion of .pyc…
  • Loading branch information
benjaoming authored Jan 27, 2017
2 parents 27f2d97 + 9a32d86 commit dd0df17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ release: dist man
twine upload -s --sign-with gpg2 dist/*

sdist: clean docs assets
# Building assets currently creates pyc files in the source dirs,
# so we should delete those...
make clean-pyc
python setup.py sdist --formats=$(format) --static

dist: clean docs assets
Expand Down

0 comments on commit dd0df17

Please sign in to comment.