Skip to content

Commit

Permalink
build: clean pyc file
Browse files Browse the repository at this point in the history
  • Loading branch information
NateScarlet committed Jul 17, 2023
1 parent d225537 commit 771c774
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ lib/site-packages/.sentinel: requirements.txt
# https://github.com/microsoft/vscode/issues/36630
rm -rf lib/site-packages
"$(PYTHON27)" -m pip install -r requirements.txt --target lib/site-packages
rm -rfv lib/site-packages/**/*.pyc
find lib/site-packages -name *.pyc -print -delete
touch $@

docs/_build/html: PYTHONPATH=
Expand Down
1 change: 1 addition & 0 deletions wulifang/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ vendor/__init__.py: vendor-requirements.txt vendor-patches/*.patch ../vendor/*.w
rm -rf vendor/*
cd vendor; "$(PYTHON27)" -m pip install -r ../vendor-requirements.txt --target . --upgrade
set -ex; for file in vendor-patches/*.patch; do patch -u -p1 < $$file; done
find . -name *.pyc -print -delete
touch $@

0 comments on commit 771c774

Please sign in to comment.