1
Fork 0

remove compiled python modules

* quite helpful when you do module re-factoring

Conflicts:
	Makefile
This commit is contained in:
Mikhail Sobolev 2014-07-21 00:17:49 +03:00
parent e4b60f6690
commit 63132dd0ce
2 changed files with 6 additions and 1 deletions

View File

@ -19,9 +19,12 @@ pyflakes:
pep8:
pep8 --config=common/pep8rc master slave
# XXX(sa2ajj): make it a non-phony target
# TODO(sa2ajj): make it a non-phony target
artifacts: DEST_DIR := $(CURDIR)/dist
artifacts:
@rm -rf $(DEST_DIR)
@mkdir -p $(DEST_DIR)
@for name in master slave; do (rm -f $$name/MANIFEST; cd $$name; python setup.py sdist --formats gztar,zip -d $(DEST_DIR)); done
rmpyc:
find . \( -name '*.pyc' -o -name '*.pyo' \) -exec rm -v {} \;

View File

@ -5,3 +5,5 @@ tutorial:
cd docs/tutorial; $(MAKE) html
pyflakes:
pyflakes buildbot
rmpyc:
make -C .. rmpyc